summaryrefslogtreecommitdiffstats
path: root/fips/fips_premain.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/fips_premain.c')
-rw-r--r--fips/fips_premain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/fips_premain.c b/fips/fips_premain.c
index a7c8b78f8f..7dc5246006 100644
--- a/fips/fips_premain.c
+++ b/fips/fips_premain.c
@@ -7,7 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if defined(__unix) || defined(__unix__) || defined(__vxworks) || defined(__ANDROID__)
+#if defined(__unix) || defined(__unix__) || defined(__vxworks) || defined(__ANDROID__) || defined(__APPLE__)
#include <unistd.h>
#endif