summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Bailly <olivier@google.com>2010-11-16 10:41:53 -0800
committerOlivier Bailly <olivier@google.com>2010-11-16 10:41:53 -0800
commit37dcda68d334f70e1f7f69a9817def65fe3ee717 (patch)
tree9a504e5f9ec4cccb68ef0890361c154db5db905d
parent92c243afae15567f166d0059db5aff13b8849596 (diff)
downloadvold-37dcda68d334f70e1f7f69a9817def65fe3ee717.tar.gz
Add missing include headers for compilation on Intel target for Google TV.
Change-Id: I9f71b5e871671d1d64ad37f78a8944653409b8e1
-rw-r--r--CommandListener.cpp2
-rw-r--r--Devmapper.cpp2
-rw-r--r--Fat.cpp2
-rw-r--r--Loop.cpp2
-rw-r--r--NetlinkHandler.cpp1
-rw-r--r--Volume.cpp1
6 files changed, 8 insertions, 2 deletions
diff --git a/CommandListener.cpp b/CommandListener.cpp
index b0fc5512..bc6b9e08 100644
--- a/CommandListener.cpp
+++ b/CommandListener.cpp
@@ -22,6 +22,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <string.h>
#define LOG_TAG "VoldCmdListener"
#include <cutils/log.h>
@@ -504,4 +505,3 @@ int CommandListener::XwarpCmd::runCommand(SocketClient *cli,
return 0;
}
-
diff --git a/Devmapper.cpp b/Devmapper.cpp
index c9482bf3..9a22a64e 100644
--- a/Devmapper.cpp
+++ b/Devmapper.cpp
@@ -15,6 +15,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@@ -292,4 +293,3 @@ void *Devmapper::_align(void *ptr, unsigned int a)
return (void *) (((unsigned long) ptr + agn) & ~agn);
}
-
diff --git a/Fat.cpp b/Fat.cpp
index 4754c660..82a3f7ad 100644
--- a/Fat.cpp
+++ b/Fat.cpp
@@ -15,6 +15,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@@ -30,6 +31,7 @@
#include <sys/mount.h>
#include <linux/kdev_t.h>
+#include <linux/fs.h>
#define LOG_TAG "Vold"
diff --git a/Loop.cpp b/Loop.cpp
index 98015e2d..fdba249b 100644
--- a/Loop.cpp
+++ b/Loop.cpp
@@ -15,6 +15,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@@ -22,6 +23,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/ioctl.h>
#include <linux/kdev_t.h>
diff --git a/NetlinkHandler.cpp b/NetlinkHandler.cpp
index f47d3643..55b6dba8 100644
--- a/NetlinkHandler.cpp
+++ b/NetlinkHandler.cpp
@@ -17,6 +17,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
+#include <string.h>
#define LOG_TAG "Vold"
diff --git a/Volume.cpp b/Volume.cpp
index d2b87b65..416d8c62 100644
--- a/Volume.cpp
+++ b/Volume.cpp
@@ -27,6 +27,7 @@
#include <sys/mount.h>
#include <linux/kdev_t.h>
+#include <linux/fs.h>
#include <cutils/properties.h>