Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
[openssl.git] / crypto / des / des.c
index 91d7967e31e8e298f1118cd148dc6bfc4182af33..32ddf1b927b6089ce6d3c0b8c7d2851d9ab16cc6 100644 (file)
@@ -60,7 +60,8 @@
 #include <stdlib.h>
 #ifndef MSDOS
 #ifndef VMS
-#include <unistd.h>
+#include <openssl/opensslconf.h>
+#include OPENSSL_UNISTD
 #else /* VMS */
 #ifdef __DECC
 #include <unistd.h>