From: Yang Tse Date: Fri, 27 May 2011 04:56:56 +0000 (+0200) Subject: warnless: header inclusion fix X-Git-Tag: curl-7_21_7~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dd449d843e21df679f85d1b4d3065644e088410;p=curl warnless: header inclusion fix --- diff --git a/lib/warnless.c b/lib/warnless.c index 0f7814b27..8a2211019 100644 --- a/lib/warnless.c +++ b/lib/warnless.c @@ -22,6 +22,20 @@ #include "setup.h" +#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_WARNLESS_C 1 #include "warnless.h"