summaryrefslogtreecommitdiffstats
path: root/include/cutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-09 12:21:51 -0800
committerElliott Hughes <enh@google.com>2015-01-09 12:21:51 -0800
commit3906c8511e9648e494614f8d6f049df99468b0df (patch)
tree21c5d381c716373d518719be5063557ccfaae117 /include/cutils
parent7208a01514284becbd32cf4dfd256e4b10448f8e (diff)
downloadsystem_core-3906c8511e9648e494614f8d6f049df99468b0df.zip
system_core-3906c8511e9648e494614f8d6f049df99468b0df.tar.gz
system_core-3906c8511e9648e494614f8d6f049df99468b0df.tar.bz2
You either have winsock or <sys/sockets.h>.
There is no third choice. Change-Id: I8f1206f22798f747896dd53f3081cdfa4b1707c4
Diffstat (limited to 'include/cutils')
-rw-r--r--include/cutils/sockets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cutils/sockets.h b/include/cutils/sockets.h
index daf43ec..c47588c 100644
--- a/include/cutils/sockets.h
+++ b/include/cutils/sockets.h
@@ -25,7 +25,7 @@
#ifdef HAVE_WINSOCK
#include <winsock2.h>
typedef int socklen_t;
-#elif HAVE_SYS_SOCKET_H
+#else
#include <sys/socket.h>
#endif