Generate the individual engines' error strings and macros
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 803ceae90e57067ed8fccd2c52ec38e0bdf8678c..19f085682cdeae84b97f56a2384c7f854e95bf40 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -418,13 +418,10 @@ extern HINSTANCE _hInstance;
 #  endif
 #endif
 
-#if defined(OPENSSL_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)))