Fix win32 implicit declaration of function socket_network_client_timeout.

Change-Id: Ic6070855a21920384c555c9c82b9a2e4a776cbae
This commit is contained in:
Elliott Hughes 2014-05-20 08:51:15 -07:00
parent 9e0a62487b
commit b911cf0af4

View file

@ -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);