diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-01-26 11:58:51 -0500 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-01-31 17:03:19 -0500 |
commit | d2c29154bcb9c82dd215697bf9131849f696762e (patch) | |
tree | 4a491612ea5b55e0305fb677d12fecb9bdddc106 /src/third_party/wiredtiger | |
parent | f80d3cfcaf17e86fbd862c40812846c97a408ba3 (diff) | |
download | mongo-d2c29154bcb9c82dd215697bf9131849f696762e.tar.gz |
SERVER-32373 wiredtiger/SConscript conf.CheckFunc with headers
Diffstat (limited to 'src/third_party/wiredtiger')
-rw-r--r-- | src/third_party/wiredtiger/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript index 4e1335499fd..6fb75b09a8e 100644 --- a/src/third_party/wiredtiger/SConscript +++ b/src/third_party/wiredtiger/SConscript @@ -27,11 +27,11 @@ if debugBuild: env.Append(CPPDEFINES=["HAVE_VERBOSE"]) conf = Configure(env) -if conf.CheckFunc("fallocate"): +if conf.CheckFunc("fallocate", "fcntl.h"): conf.env.Append(CPPDEFINES=[ "HAVE_FALLOCATE" ]) -if conf.CheckFunc("sync_file_range"): +if conf.CheckFunc("sync_file_range", "fcntl.h"): conf.env.Append(CPPDEFINES=[ "HAVE_SYNC_FILE_RANGE" ]) |