diff options
author | Yang Tse <yangsita@gmail.com> | 2011-05-27 06:56:56 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-05-27 06:56:56 +0200 |
commit | 7dd449d843e21df679f85d1b4d3065644e088410 (patch) | |
tree | 699f21107ae3dbe3b2d207ad6fdbd483540210bd | |
parent | f461c6e61df2133e55703e176c8bfc67eef05dda (diff) |
warnless: header inclusion fix
-rw-r--r-- | lib/warnless.c | 14 |
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" |