From a8b583089bfa2d4f7f9f4d0aba0f0640ef1ad959 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Mon, 24 Oct 2011 16:52:50 -0700 Subject: [PATCH] s3:vfs_gpfs: Fix compile error in gpfs module MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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) --- source3/modules/gpfs.c | 1 + 1 file changed, 1 insertion(+) 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" -- 2.34.1