wscript: make unistd.h optional
authorPaul Brossier <piem@piem.org>
Sat, 23 Apr 2016 19:06:43 +0000 (21:06 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 23 Apr 2016 19:06:43 +0000 (21:06 +0200)
wscript

diff --git a/wscript b/wscript
index 25f1808..2b53a75 100644 (file)
--- a/wscript
+++ b/wscript
@@ -109,7 +109,7 @@ def configure(ctx):
     ctx.check(header_name='string.h')
     ctx.check(header_name='limits.h')
     ctx.check(header_name='getopt.h', mandatory = False)
-    ctx.check(header_name='unistd.h')
+    ctx.check(header_name='unistd.h', mandatory = False)
 
     target_platform = Options.platform
     if ctx.options.target_platform: