I forgot there was a reason why the inclusions and definition of u_int
was made in a certain sequence. This change restores the earlier "chain of command".
This commit is contained in:
parent
38f3b3e29c
commit
02cc82ff8a
@ -62,13 +62,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.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>
|
#include <openssl/e_os2.h>
|
||||||
|
|
||||||
/* With IPv6, it looks like Digital has mixed up the proper order of
|
/* With IPv6, it looks like Digital has mixed up the proper order of
|
||||||
@ -80,6 +73,14 @@
|
|||||||
typedef unsigned int u_int;
|
typedef unsigned int u_int;
|
||||||
#endif
|
#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);
|
static struct hostent *GetHostByName(char *name);
|
||||||
#ifdef OPENSSL_SYS_WINDOWS
|
#ifdef OPENSSL_SYS_WINDOWS
|
||||||
static void sock_cleanup(void);
|
static void sock_cleanup(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user