Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
[openssl.git] / crypto / des / destest.c
index 0054fb9..d92fabd 100644 (file)
@@ -66,7 +66,8 @@
 #include <stdlib.h>
 #ifndef MSDOS
 #if !defined(VMS) || defined(__DECC)
-#include <unistd.h>
+#include <openssl/opensslconf.h>
+#include OPENSSL_UNISTD
 #endif /* VMS */
 #else
 #include <io.h>