diff options
author | Olivier Bailly <olivier@google.com> | 2010-11-29 15:13:50 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-29 15:13:50 -0800 |
commit | 7e06476f6daf75946d93972e4187f2d600b51fac (patch) | |
tree | 1c933f6b1e0367e0270b3f989e07cb15dab10473 /init | |
parent | 9e04fcde67aca1596664e052c37424cbd910da57 (diff) | |
parent | b93e5812faffd3b6c5fb349072413aace31918d8 (diff) | |
download | system_core-7e06476f6daf75946d93972e4187f2d600b51fac.zip system_core-7e06476f6daf75946d93972e4187f2d600b51fac.tar.gz system_core-7e06476f6daf75946d93972e4187f2d600b51fac.tar.bz2 |
Merge "Add missing headers for compilation on x86 targets"
Diffstat (limited to 'init')
-rw-r--r-- | init/devices.c | 1 | ||||
-rw-r--r-- | init/keychords.c | 2 | ||||
-rw-r--r-- | init/list.h | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c index db229d3..036b8f7 100644 --- a/init/devices.c +++ b/init/devices.c @@ -15,6 +15,7 @@ */ #include <errno.h> +#include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> diff --git a/init/keychords.c b/init/keychords.c index 53ab391..892cbdf 100644 --- a/init/keychords.c +++ b/init/keychords.c @@ -17,9 +17,11 @@ #include <errno.h> #include <fcntl.h> #include <stdlib.h> +#include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <linux/keychord.h> +#include <unistd.h> #include "init.h" #include "log.h" diff --git a/init/list.h b/init/list.h index 0a7b28c..7b9ef32 100644 --- a/init/list.h +++ b/init/list.h @@ -17,6 +17,8 @@ #ifndef _INIT_LIST_H_ #define _INIT_LIST_H_ +#include <stddef.h> + struct listnode { struct listnode *next; |