s3:vfs_gpfs: Fix compile error in gpfs module
commita8b583089bfa2d4f7f9f4d0aba0f0640ef1ad959
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Mon, 24 Oct 2011 23:52:50 +0000 (24 16:52 -0700)
committerChristian Ambach <ambi@samba.org>
Thu, 16 Aug 2012 16:05:21 +0000 (16 18:05 +0200)
treeca06780fd39ced0744193e486071d291aa7448ce
parent56fc7bc661bcea0a63d28efdd50c345715ea21bd
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)
source3/modules/gpfs.c