1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-05 13:19:44 +00:00

ares_nowarn: header inclusion fix

This commit is contained in:
Yang Tse
2011-05-27 06:55:50 +02:00
parent 22a52102d6
commit 56c77364d5

View File

@ -21,6 +21,20 @@
# include <assert.h>
#endif
#if defined(__INTEL_COMPILER) && defined(__unix__)
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#endif /* __INTEL_COMPILER && __unix__ */
#define BUILDING_ARES_NOWARN_C 1
#include "ares_nowarn.h"