summaryrefslogtreecommitdiffstats
path: root/crypto/rc2
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rc2')
-rw-r--r--crypto/rc2/rc2speed.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/crypto/rc2/rc2speed.c b/crypto/rc2/rc2speed.c
index 5e747c9265..c3da63e77e 100644
--- a/crypto/rc2/rc2speed.c
+++ b/crypto/rc2/rc2speed.c
@@ -64,12 +64,11 @@
#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>