1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-21 08:26:56 +00:00

Make sure sys/socket.h is included before netinet/in.h (required by

OpenWatcom C)
This commit is contained in:
Dan Fandrich
2008-11-29 00:26:07 +00:00
parent 7bd83c2e33
commit b4371466d4
6 changed files with 16 additions and 1 deletions

2
ares.h
View File

@ -51,8 +51,8 @@
# include <winsock2.h>
# include <ws2tcpip.h>
#else
#include <netinet/in.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
#ifdef __cplusplus