aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/warnless.c14
1 files changed, 14 insertions, 0 deletions
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 <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_WARNLESS_C 1
#include "warnless.h"