diff --git a/lib/warnless.c b/lib/warnless.c index 0f7814b274..8a2211019a 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"