summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2007-03-14 22:15:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:37 -0500
commit3cb9ce7668c72c14e602986e5764ab5194a9ce10 (patch)
tree25ac8f67d92e452bce455888e9a8dee8db109c39 /source3/client
parentf56da0890f645c4cecac7c60f67573e1f609fd4f (diff)
downloadsamba-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)
Diffstat (limited to 'source3/client')
-rwxr-xr-xsource3/client/mount.cifs.c4
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;