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:23:21 +0000 (07:23 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 25 Aug 2009 07:23:21 +0000 (07:23 +0000)
to be properly defined.

apps/s_socket.c

index b5f9db3062ea3a300c8a97bbfbf7eebe420471b6..eaffc6714f8f17233e66740c2a30ac9751ec00be 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)