summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 49279094..b89286b5 100644
--- a/wscript
+++ b/wscript
@@ -79,6 +79,7 @@ def configure(conf):
# Check for posix_memalign (OSX, amazingly, doesn't have it)
conf.check(function_name='posix_memalign',
+ defines='_POSIX_SOURCE=1',
header_name='stdlib.h',
define_name='HAVE_POSIX_MEMALIGN',
mandatory=False)