summaryrefslogtreecommitdiff
path: root/ares_nowarn.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-27 06:55:50 +0200
committerYang Tse <yangsita@gmail.com>2011-05-27 06:55:50 +0200
commit56c77364d50db01f6971eb52a7917dd073c74431 (patch)
treef4b2d916ea01df810644ad26797affa08bf1dd8a /ares_nowarn.c
parent22a52102d6ea30300e1f9bade94ae615675b3b0f (diff)
downloadc-ares-56c77364d50db01f6971eb52a7917dd073c74431.tar.gz
c-ares-56c77364d50db01f6971eb52a7917dd073c74431.tar.bz2
c-ares-56c77364d50db01f6971eb52a7917dd073c74431.zip
ares_nowarn: header inclusion fix
Diffstat (limited to 'ares_nowarn.c')
-rw-r--r--ares_nowarn.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ares_nowarn.c b/ares_nowarn.c
index 719bec1..640412e 100644
--- a/ares_nowarn.c
+++ b/ares_nowarn.c
@@ -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"