summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-20 08:51:15 -0700
committerElliott Hughes <enh@google.com>2014-05-20 08:51:15 -0700
commitb911cf0af43718a6dedb06561e787ba3bdbdfe8b (patch)
tree3a971715aacdf906ba86ea9c8649606d30bc27a6
parent9e0a62487b9946c0403d6c4282010d28ae0b193e (diff)
downloadsystem_core-b911cf0af43718a6dedb06561e787ba3bdbdfe8b.zip
system_core-b911cf0af43718a6dedb06561e787ba3bdbdfe8b.tar.gz
system_core-b911cf0af43718a6dedb06561e787ba3bdbdfe8b.tar.bz2
Fix win32 implicit declaration of function socket_network_client_timeout.
Change-Id: Ic6070855a21920384c555c9c82b9a2e4a776cbae
-rw-r--r--adb/sysdeps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/adb/sysdeps.h b/adb/sysdeps.h
index 4033b72..ba4306f 100644
--- a/adb/sysdeps.h
+++ b/adb/sysdeps.h
@@ -169,6 +169,8 @@ extern void* load_file(const char* pathname, unsigned* psize);
/* normally provided by <cutils/sockets.h> */
extern int socket_loopback_client(int port, int type);
extern int socket_network_client(const char *host, int port, int type);
+extern int socket_network_client_timeout(const char *host, int port, int type,
+ int timeout);
extern int socket_loopback_server(int port, int type);
extern int socket_inaddr_any_server(int port, int type);