diff options
Diffstat (limited to 'ares/ares_expand_string.c')
-rw-r--r-- | ares/ares_expand_string.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/ares_expand_string.c b/ares/ares_expand_string.c index ead60a407..f2d4f748a 100644 --- a/ares/ares_expand_string.c +++ b/ares/ares_expand_string.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 |