diff options
author | Elliott Hughes <enh@google.com> | 2014-05-20 08:51:15 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-20 08:51:15 -0700 |
commit | b911cf0af43718a6dedb06561e787ba3bdbdfe8b (patch) | |
tree | 3a971715aacdf906ba86ea9c8649606d30bc27a6 /adb | |
parent | 9e0a62487b9946c0403d6c4282010d28ae0b193e (diff) | |
download | system_core-b911cf0af43718a6dedb06561e787ba3bdbdfe8b.tar.gz system_core-b911cf0af43718a6dedb06561e787ba3bdbdfe8b.tar.bz2 system_core-b911cf0af43718a6dedb06561e787ba3bdbdfe8b.zip |
Fix win32 implicit declaration of function socket_network_client_timeout.
Change-Id: Ic6070855a21920384c555c9c82b9a2e4a776cbae
Diffstat (limited to 'adb')
-rw-r--r-- | adb/sysdeps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/adb/sysdeps.h b/adb/sysdeps.h index 4033b7220..ba4306f8c 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); |