summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2009-08-25 07:24:00 +0000
committerRichard Levitte <levitte@openssl.org>2009-08-25 07:24:00 +0000
commitdf51d79ec47ec62b46f03b9775dd9902752a5aee (patch)
tree9471ff7a1da3e2b1c65bbae50c3d815a4db691a3 /apps
parentc21a427a149774c0e14600062d04646da0c7a3f0 (diff)
Move up the inclusion of e_os.h so OPENSSL_SYS_VMS_DECC has a chance
to be properly defined.
Diffstat (limited to 'apps')
-rw-r--r--apps/s_socket.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c
index 4a922e16a0..02bfb42f08 100644
--- a/apps/s_socket.c
+++ b/apps/s_socket.c
@@ -62,6 +62,12 @@
#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)