diff options
author | Elliott Hughes <enh@google.com> | 2015-01-09 12:21:51 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-01-09 12:21:51 -0800 |
commit | 3906c8511e9648e494614f8d6f049df99468b0df (patch) | |
tree | 21c5d381c716373d518719be5063557ccfaae117 /include/cutils | |
parent | 7208a01514284becbd32cf4dfd256e4b10448f8e (diff) | |
download | system_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.h | 2 |
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 |