diff options
author | Olivier Bailly <olivier@google.com> | 2010-11-16 10:41:53 -0800 |
---|---|---|
committer | Olivier Bailly <olivier@google.com> | 2010-11-16 10:41:53 -0800 |
commit | 37dcda68d334f70e1f7f69a9817def65fe3ee717 (patch) | |
tree | 9a504e5f9ec4cccb68ef0890361c154db5db905d | |
parent | 92c243afae15567f166d0059db5aff13b8849596 (diff) | |
download | vold-37dcda68d334f70e1f7f69a9817def65fe3ee717.tar.gz |
Add missing include headers for compilation on Intel target for Google TV.
Change-Id: I9f71b5e871671d1d64ad37f78a8944653409b8e1
-rw-r--r-- | CommandListener.cpp | 2 | ||||
-rw-r--r-- | Devmapper.cpp | 2 | ||||
-rw-r--r-- | Fat.cpp | 2 | ||||
-rw-r--r-- | Loop.cpp | 2 | ||||
-rw-r--r-- | NetlinkHandler.cpp | 1 | ||||
-rw-r--r-- | Volume.cpp | 1 |
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); } - @@ -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" @@ -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" @@ -27,6 +27,7 @@ #include <sys/mount.h> #include <linux/kdev_t.h> +#include <linux/fs.h> #include <cutils/properties.h> |