From: Yang Tse Date: Fri, 27 May 2011 04:55:50 +0000 (+0200) Subject: ares_nowarn: header inclusion fix X-Git-Tag: upstream/1.10.0~185 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56c77364d50db01f6971eb52a7917dd073c74431;p=platform%2Fupstream%2Fc-ares.git ares_nowarn: header inclusion fix --- 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 #endif +#if defined(__INTEL_COMPILER) && defined(__unix__) + +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +#ifdef HAVE_NETINET_IN_H +# include +#endif +#ifdef HAVE_ARPA_INET_H +# include +#endif + +#endif /* __INTEL_COMPILER && __unix__ */ + #define BUILDING_ARES_NOWARN_C 1 #include "ares_nowarn.h"