summaryrefslogtreecommitdiffstats
path: root/libcutils/socket_loopback_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcutils/socket_loopback_server.c')
-rw-r--r--libcutils/socket_loopback_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/socket_loopback_server.c b/libcutils/socket_loopback_server.c
index 71afce70f..b600e347e 100644
--- a/libcutils/socket_loopback_server.c
+++ b/libcutils/socket_loopback_server.c
@@ -22,7 +22,7 @@
#define LISTEN_BACKLOG 4
-#ifndef HAVE_WINSOCK
+#if !defined(_WIN32)
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/types.h>