aboutsummaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-08-25 11:31:19 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-08-25 11:31:19 +0000
commit0fbf5f7102a65aa77d3bf2a36fe379e330edc5aa (patch)
tree4c20cdba9e50654fe7c2967dd4b3dcbb89ac2e38 /e_os.h
parentf1b2807478ba528602bad4227c768082f98821c9 (diff)
downloadopenssl-0fbf5f7102a65aa77d3bf2a36fe379e330edc5aa.tar.gz
Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index 803ceae90e..5857b1c86d 100644
--- a/e_os.h
+++ b/e_os.h
@@ -425,6 +425,9 @@ extern HINSTANCE _hInstance;
#endif
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
+ /* include headers first, so our evil 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)))