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