summaryrefslogtreecommitdiffstats
path: root/src/zix_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zix_config.h')
-rw-r--r--src/zix_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zix_config.h b/src/zix_config.h
index f4965f8..b1096a5 100644
--- a/src/zix_config.h
+++ b/src/zix_config.h
@@ -34,7 +34,7 @@
# if __has_include(<unistd.h>)
# include <unistd.h>
# endif
-# elif defined(__unix__)
+# elif defined(__APPLE__) || defined(__unix__)
# include <unistd.h>
# endif
# endif