summaryrefslogtreecommitdiff
path: root/crypto/openssl/e_os.h
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-01-27 03:13:07 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-01-27 03:13:07 +0000
commita21b1b381ecca3813b44ac652d05a5133d3f4e2b (patch)
tree844bea9e360a2132b36667e0042dd30ac9f931ff /crypto/openssl/e_os.h
parent26d191b459ef5c6e6f66683faef459d6cf694aa2 (diff)
downloadsrc-test2-a21b1b381ecca3813b44ac652d05a5133d3f4e2b.tar.gz
src-test2-a21b1b381ecca3813b44ac652d05a5133d3f4e2b.zip
Notes
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 8a996096be6d..ec06afb87665 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)))