diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-11-29 00:26:07 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-11-29 00:26:07 +0000 |
commit | f33f8eee2665cfda72a2aaca25f84738ca1f56dd (patch) | |
tree | e73fd479218a0bd08c7357ef6d271edb2823e22a /ares/ares_expand_name.c | |
parent | 31a3f064c03bd1faed5c54d21edb6bd40a73a7ab (diff) |
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C)
Diffstat (limited to 'ares/ares_expand_name.c')
-rw-r--r-- | ares/ares_expand_name.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/ares_expand_name.c b/ares/ares_expand_name.c index dc5b10753..8a9d82215 100644 --- a/ares/ares_expand_name.c +++ b/ares/ares_expand_name.c @@ -17,6 +17,9 @@ #include "setup.h" +#ifdef HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> #endif |