diff options
| author | Olivier Bailly <olivier@google.com> | 2010-11-17 11:47:23 -0800 |
|---|---|---|
| committer | Olivier Bailly <olivier@google.com> | 2010-11-17 11:47:23 -0800 |
| commit | b93e5812faffd3b6c5fb349072413aace31918d8 (patch) | |
| tree | dbffdf9f41b914b32da131fbdd0eee435c2ec656 /init | |
| parent | 609d8828d3b8266a80606bf902d1294296962cf3 (diff) | |
| download | system_core-b93e5812faffd3b6c5fb349072413aace31918d8.tar.gz system_core-b93e5812faffd3b6c5fb349072413aace31918d8.tar.bz2 system_core-b93e5812faffd3b6c5fb349072413aace31918d8.zip | |
Add missing headers for compilation on x86 targets
Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
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 db229d36..036b8f75 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 53ab3911..892cbdf8 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 0a7b28c8..7b9ef32f 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; |
