--- adb/sysdeps.h.orig	Mon Feb  9 09:10:55 2015
+++ adb/sysdeps.h	Tue May  5 07:56:50 2015
@@ -268,6 +268,7 @@ extern char*  adb_strtok_r(char *str, const char *deli
 #include <signal.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
+#include <sys/socket.h>
 #include <fcntl.h>
 
 #include <pthread.h>
