projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
[openssl.git]
/
crypto
/
cast
/
castopts.c
diff --git
a/crypto/cast/castopts.c
b/crypto/cast/castopts.c
index 25c40af06a165910552b3cbd8098e3ee9cba2392..642e9725af6fb39bd60f880c708882b79f2a616d 100644
(file)
--- a/
crypto/cast/castopts.c
+++ b/
crypto/cast/castopts.c
@@
-64,12
+64,11
@@
#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>