Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
[openssl.git] / crypto / bf / bfspeed.c
index bc6cd8df5f21859324b092d041ce2a30cf81a0b6..9b893e92cc54379a5631daeb94ed2ab231139b90 100644 (file)
 #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>