diff options
author | Steve French <sfrench@samba.org> | 2007-03-14 22:15:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:37 -0500 |
commit | 3cb9ce7668c72c14e602986e5764ab5194a9ce10 (patch) | |
tree | 25ac8f67d92e452bce455888e9a8dee8db109c39 | |
parent | f56da0890f645c4cecac7c60f67573e1f609fd4f (diff) | |
download | samba-3cb9ce7668c72c14e602986e5764ab5194a9ce10.tar.gz samba-3cb9ce7668c72c14e602986e5764ab5194a9ce10.tar.bz2 samba-3cb9ce7668c72c14e602986e5764ab5194a9ce10.zip |
r21840: mount.cifs compile on old libc missing bind mount #define
Thanks to Thomas Jarosch for pointing this out.
(This used to be commit bd9439cc7d80e172feab72229b553028e134de05)
-rwxr-xr-x | source3/client/mount.cifs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index 076001ccc0..7e4c27c820 100755 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -59,6 +59,10 @@ #define MS_MOVE 8192 #endif +#ifndef MS_BIND +#define MS_BIND 4096 +#endif + #define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr))) const char *thisprogram; |