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
/
cast_spd.c
diff --git
a/crypto/cast/cast_spd.c
b/crypto/cast/cast_spd.c
index 47af9639e44406b4a34dcaa0e3224abb34f4e0d1..c0726906c20961ae0d177856c3a047fcde4a16e4 100644
(file)
--- a/
crypto/cast/cast_spd.c
+++ b/
crypto/cast/cast_spd.c
@@
-64,12
+64,11
@@
#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>