summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/e_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/e_os.h')
-rw-r--r--crypto/openssl/e_os.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/openssl/e_os.h b/crypto/openssl/e_os.h
index 8a99609..ec06afb 100644
--- a/crypto/openssl/e_os.h
+++ b/crypto/openssl/e_os.h
@@ -413,13 +413,10 @@ extern HINSTANCE _hInstance;
# endif
#endif
-#if defined(THREADS) || defined(sun)
-#ifndef _REENTRANT
-#define _REENTRANT
-#endif
-#endif
-
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
+ /* include headers first, so our defines don't break it */
+#include <stdlib.h>
+#include <string.h>
/* bcopy can handle overlapping moves according to SunOS 4.1.4 manpage */
# define memmove(s1,s2,n) bcopy((s2),(s1),(n))
# define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b)))
OpenPOWER on IntegriCloud