From 7dd449d843e21df679f85d1b4d3065644e088410 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 27 May 2011 06:56:56 +0200 Subject: [PATCH] warnless: header inclusion fix --- lib/warnless.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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"