From 3cb9ce7668c72c14e602986e5764ab5194a9ce10 Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 14 Mar 2007 22:15:21 +0000 Subject: 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) --- source3/client/mount.cifs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/client') 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; -- cgit