summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index f1dda515bc..63bca9d060 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1492,7 +1492,8 @@ main() {
Logs.warn("pthreadpool support cannot be enabled when pthread support was not found")
conf.undefine('WITH_PTHREADPOOL')
- if conf.CHECK_HEADERS('gpfs_fcntl.h'):
+ conf.env['CPPPATH_GPFS'] = '/usr/lpp/mmfs/include/'
+ if conf.CHECK_HEADERS('gpfs_fcntl.h', False, False, "gpfs"):
conf.DEFINE('HAVE_GPFS', '1')
if (conf.CHECK_HEADERS('linux/ioctl.h sys/ioctl.h linux/fs.h') and