Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
[openssl.git] / crypto / des / des_opts.c
index 500509ea733b90decf1a2cb75cd9c692a2b22030..746c456f8fab381973a080d70bb1a62574b12f9c 100644 (file)
@@ -65,7 +65,8 @@
 
 #include <stdio.h>
 #ifndef MSDOS
-#include <unistd.h>
+#include <openssl/e_os2.h>
+#include OPENSSL_UNISTD
 #else
 #include <io.h>
 extern void exit();