Change system header inclusion order to make crufty old systems happy.
This commit is contained in:
parent
91b4045558
commit
c54cb0e8e8
1 changed files with 3 additions and 3 deletions
|
@ -38,16 +38,16 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define WIN32
|
#define WIN32
|
||||||
#include "winsock2.h"
|
#include "winsock2.h"
|
||||||
#undef NS_ALL
|
#undef NS_ALL
|
||||||
#else
|
#else
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netdb.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <netdb.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#include "prototypes.h"
|
#include "prototypes.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue