aboutsummaryrefslogtreecommitdiff
path: root/ares/ares__close_sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares__close_sockets.c')
-rw-r--r--ares/ares__close_sockets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares__close_sockets.c b/ares/ares__close_sockets.c
index 48f49af9e..fb883f9a9 100644
--- a/ares/ares__close_sockets.c
+++ b/ares/ares__close_sockets.c
@@ -16,10 +16,10 @@
#include "setup.h"
#include <stdlib.h>
-#ifdef WIN32
-#else
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+
#include "ares.h"
#include "ares_private.h"