From: Christof Schmitt Date: Mon, 24 Oct 2011 23:52:50 +0000 (-0700) Subject: s3:vfs_gpfs: Fix compile error in gpfs module X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=a8b583089bfa2d4f7f9f4d0aba0f0640ef1ad959;p=obnox%2Fsamba%2Fsamba-obnox.git s3:vfs_gpfs: Fix compile error in gpfs module Fix this compile error by adding fcntl.h as a include that defines F_RDLCK and F_WRLCK: modules/gpfs.c: In function ‘set_gpfs_lease’: modules/gpfs.c:102: error: ‘F_RDLCK’ undeclared (first use in this function) modules/gpfs.c:102: error: (Each undeclared identifier is reported only once modules/gpfs.c:102: error: for each function it appears in.) modules/gpfs.c:105: error: ‘F_WRLCK’ undeclared (first use in this function) --- diff --git a/source3/modules/gpfs.c b/source3/modules/gpfs.c index 2cbf0b501ac..db6025642b1 100644 --- a/source3/modules/gpfs.c +++ b/source3/modules/gpfs.c @@ -21,6 +21,7 @@ #include "system/filesys.h" #include "smbd/smbd.h" +#include #include "libcli/security/security.h" #include "gpfs_fcntl.h" #include "gpfs_gpl.h"