Fix Win32 adb build.

Change-Id: I0a07379c470b7fa7f9bdef68c17ccb7bd0bd2079
diff --git a/sysdeps_win32.cpp b/sysdeps_win32.cpp
index 91e1495..a274892 100644
--- a/sysdeps_win32.cpp
+++ b/sysdeps_win32.cpp
@@ -25,6 +25,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include <cutils/sockets.h>
+
 #include "adb.h"
 
 extern void fatal(const char *fmt, ...);
@@ -669,7 +671,7 @@
 
 
 int socket_network_client_timeout(const char *host, int port, int type, int timeout,
-                                  std::string* error) {
+                                  int* getaddrinfo_error) {
     FH  f = _fh_alloc( &_fh_socket_class );
     if (!f) return -1;