OSDN Git Service

Add missing include headers for compilation on x86 targets.
authorOlivier Bailly <olivier@google.com>
Wed, 17 Nov 2010 19:45:07 +0000 (11:45 -0800)
committerOlivier Bailly <olivier@google.com>
Wed, 17 Nov 2010 19:45:07 +0000 (11:45 -0800)
Change-Id: I99f7b79bfb5b6305a0772f418a54ace50cac1bbe

CommandListener.cpp
DnsProxyListener.cpp
NatController.cpp
NetlinkHandler.cpp
PanController.cpp
PppController.cpp
SoftapController.cpp
TetherController.cpp
ThrottleController.cpp
UsbController.cpp

index a0cdaac..3f9c5e5 100644 (file)
@@ -21,6 +21,7 @@
 #include <arpa/inet.h>
 #include <dirent.h>
 #include <errno.h>
+#include <string.h>
 
 #include <linux/if.h>
 
index 36b78c8..6155292 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <sys/socket.h>
 #include <sys/types.h>
+#include <string.h>
 
 #define LOG_TAG "DnsProxyListener"
 #define DBG 0
index 8c88698..28f1fe2 100644 (file)
@@ -21,6 +21,7 @@
 #include <fcntl.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
+#include <string.h>
 
 #define LOG_TAG "NatController"
 #include <cutils/log.h>
index 028729a..800c86c 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 
 #define LOG_TAG "Netd"
index 08e3024..253c943 100644 (file)
@@ -17,6 +17,7 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <string.h>
 
 #include <sys/socket.h>
 #include <sys/stat.h>
index f508f4e..4caf382 100644 (file)
@@ -17,6 +17,7 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <string.h>
 
 #include <sys/socket.h>
 #include <sys/stat.h>
index 3ab6d72..1f42214 100644 (file)
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <string.h>
 
 #include <sys/socket.h>
 #include <sys/stat.h>
+#include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 
index 2fc2138..8b8a294 100644 (file)
@@ -17,6 +17,7 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <string.h>
 
 #include <sys/socket.h>
 #include <sys/stat.h>
index 846a685..41f9939 100644 (file)
@@ -17,6 +17,7 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <string.h>
 
 #include <sys/socket.h>
 #include <sys/stat.h>
index 1def0e6..16e5d6a 100644 (file)
@@ -17,7 +17,8 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
-
+#include <string.h>
+#include <unistd.h>
 
 #include <netinet/in.h>
 #include <arpa/inet.h>