Moving up the inclusion of e_os.h was a bad idea.
authorRichard Levitte <levitte@openssl.org>
Wed, 26 Aug 2009 11:21:57 +0000 (11:21 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 26 Aug 2009 11:21:57 +0000 (11:21 +0000)
Put it back where it was and place an inclusion of e_os2.h to get platform
macros defined...

apps/s_socket.c

index 02bfb42f08a99527d5023fb2df41c523de96189b..cf823585355fc8c1fb4685bdd867e9f282cf2b73 100644 (file)
@@ -63,9 +63,9 @@
 #include <signal.h>
 
 #ifdef FLAT_INC
-#include "e_os.h"
+#include "e_os2.h"
 #else
-#include "../e_os.h"
+#include "../e_os2.h"
 #endif
 
 /* With IPv6, it looks like Digital has mixed up the proper order of
@@ -85,6 +85,12 @@ typedef unsigned int u_int;
 #include "s_apps.h"
 #include <openssl/ssl.h>
 
+#ifdef FLAT_INC
+#include "e_os.h"
+#else
+#include "../e_os.h"
+#endif
+
 #ifndef OPENSSL_NO_SOCK
 
 #if defined(OPENSSL_SYS_NETWARE) && defined(NETWARE_BSDSOCK)