commit | 3906c8511e9648e494614f8d6f049df99468b0df | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jan 09 12:21:51 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Jan 09 12:21:51 2015 -0800 |
tree | 21c5d381c716373d518719be5063557ccfaae117 | |
parent | 7208a01514284becbd32cf4dfd256e4b10448f8e [diff] |
You either have winsock or <sys/sockets.h>. There is no third choice. Change-Id: I8f1206f22798f747896dd53f3081cdfa4b1707c4
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