summaryrefslogtreecommitdiffstats
path: root/librilutils/record_stream.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-29 17:47:06 -0700
committerElliott Hughes <enh@google.com>2015-07-29 17:47:06 -0700
commit75f10b865655eb08d24fc9a9c854dc667c173d3e (patch)
treed5ae4523d62d80be0b7f3bd77250e43e9db553b5 /librilutils/record_stream.c
parent26a79e4eba9a677d446dc767cf1df29f5ca1adb4 (diff)
downloadplatform_hardware_ril-75f10b865655eb08d24fc9a9c854dc667c173d3e.tar.gz
platform_hardware_ril-75f10b865655eb08d24fc9a9c854dc667c173d3e.tar.bz2
platform_hardware_ril-75f10b865655eb08d24fc9a9c854dc667c173d3e.zip
Use _WIN32 rather than HAVE_WINSOCK in librilutils.
(This code isn't built for the host, but has a copy of record_stream.c.) Change-Id: I01ff7f9d138ad83c379e0dbe4abb2447a7ae98fe
Diffstat (limited to 'librilutils/record_stream.c')
-rw-r--r--librilutils/record_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librilutils/record_stream.c b/librilutils/record_stream.c
index 558d179e..566f6661 100644
--- a/librilutils/record_stream.c
+++ b/librilutils/record_stream.c
@@ -22,7 +22,7 @@
#include <telephony/record_stream.h>
#include <string.h>
#include <stdint.h>
-#ifdef HAVE_WINSOCK
+#if defined(_WIN32)
#include <winsock2.h> /* for ntohl */
#else
#include <netinet/in.h>