From: Steve French Date: Wed, 14 Mar 2007 22:15:21 +0000 (+0000) Subject: r21840: mount.cifs compile on old libc missing bind mount #define X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~944 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd9439cc7d80e172feab72229b553028e134de05;p=thirdparty%2Fsamba.git r21840: mount.cifs compile on old libc missing bind mount #define Thanks to Thomas Jarosch for pointing this out. --- diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c index 076001ccc07..7e4c27c820b 100755 --- a/source/client/mount.cifs.c +++ b/source/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;