r21840: mount.cifs compile on old libc missing bind mount #define
authorSteve French <sfrench@samba.org>
Wed, 14 Mar 2007 22:15:21 +0000 (22:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:37 +0000 (12:18 -0500)
Thanks to Thomas Jarosch for pointing this out.
(This used to be commit bd9439cc7d80e172feab72229b553028e134de05)

source3/client/mount.cifs.c

index 076001ccc076ff22e9cb7e7b0b93a69b2f48ef72..7e4c27c820b8368d12b03988dfc81fc0240d6cd0 100755 (executable)
 #define MS_MOVE 8192 
 #endif 
 
+#ifndef MS_BIND
+#define MS_BIND 4096
+#endif
+
 #define CONST_DISCARD(type, ptr)      ((type) ((void *) (ptr)))
 
 const char *thisprogram;