I forgot there was a reason why the inclusions and definition of u_int
authorRichard Levitte <levitte@openssl.org>
Tue, 20 Feb 2001 17:37:02 +0000 (17:37 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 20 Feb 2001 17:37:02 +0000 (17:37 +0000)
was made in a certain sequence.  This change restores the earlier
"chain of command".

apps/s_socket.c

index adaeef6..bd499d0 100644 (file)
 #include <errno.h>
 #include <signal.h>
 
-#define USE_SOCKETS
-#define NON_MAIN
-#include "apps.h"
-#undef USE_SOCKETS
-#undef NON_MAIN
-#include "s_apps.h"
-#include <openssl/ssl.h>
 #include <openssl/e_os2.h>
 
 /* With IPv6, it looks like Digital has mixed up the proper order of
 typedef unsigned int u_int;
 #endif
 
+#define USE_SOCKETS
+#define NON_MAIN
+#include "apps.h"
+#undef USE_SOCKETS
+#undef NON_MAIN
+#include "s_apps.h"
+#include <openssl/ssl.h>
+
 static struct hostent *GetHostByName(char *name);
 #ifdef OPENSSL_SYS_WINDOWS
 static void sock_cleanup(void);