Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
[openssl.git] / crypto / bf / bf_opts.c
index a0663b5801e028b95677c391aed359574b2ab9d0..5f330cc53ce60a763167b54cbe6bc878a3085acf 100644 (file)
 #endif
 
 #include <stdio.h>
-#ifndef MSDOS
-#include <unistd.h>
-#else
-#include <io.h>
-extern void exit();
-#endif
+
+#include <openssl/e_os2.h>
+#include OPENSSL_UNISTD_IO
+OPENSSL_DECLARE_EXIT
+
 #include <signal.h>
 #ifndef _IRIX
 #include <time.h>