Move up the inclusion of e_os.h so OPENSSL_SYS_VMS_DECC has a chance
authorRichard Levitte <levitte@openssl.org>
Tue, 25 Aug 2009 07:24:00 +0000 (07:24 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 25 Aug 2009 07:24:00 +0000 (07:24 +0000)
to be properly defined.

apps/s_socket.c

index 4a922e16a0bea830e38677ef75d65ba7b8c8c188..02bfb42f08a99527d5023fb2df41c523de96189b 100644 (file)
 #include <errno.h>
 #include <signal.h>
 
+#ifdef FLAT_INC
+#include "e_os.h"
+#else
+#include "../e_os.h"
+#endif
+
 /* With IPv6, it looks like Digital has mixed up the proper order of
    recursive header file inclusion, resulting in the compiler complaining
    that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which
@@ -79,12 +85,6 @@ 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)