mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-12-08 06:52:24 +00:00
ares_nowarn: header inclusion fix
This commit is contained in:
@ -21,6 +21,20 @@
|
|||||||
# include <assert.h>
|
# include <assert.h>
|
||||||
#endif
|
#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
|
#define BUILDING_ARES_NOWARN_C 1
|
||||||
|
|
||||||
#include "ares_nowarn.h"
|
#include "ares_nowarn.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user