diff options
author | Richard Levitte <levitte@openssl.org> | 2009-08-25 07:23:21 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2009-08-25 07:23:21 +0000 |
commit | f49353b42fb1db84f506ed1de3328084d2711512 (patch) | |
tree | c8ff864a5d2cf83bdbc1defd1b913c498376070a /apps | |
parent | 573c61dcdec2de3c5939adad6bbc42ba55412bef (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.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c index b5f9db3062..eaffc6714f 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) |