commit | b93e5812faffd3b6c5fb349072413aace31918d8 | [log] [tgz] |
---|---|---|
author | Olivier Bailly <olivier@google.com> | Wed Nov 17 11:47:23 2010 -0800 |
committer | Olivier Bailly <olivier@google.com> | Wed Nov 17 11:47:23 2010 -0800 |
tree | dbffdf9f41b914b32da131fbdd0eee435c2ec656 | |
parent | 609d8828d3b8266a80606bf902d1294296962cf3 [diff] [blame] |
Add missing headers for compilation on x86 targets Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
diff --git a/toolbox/date.c b/toolbox/date.c index 13b5210..35ef846 100644 --- a/toolbox/date.c +++ b/toolbox/date.c
@@ -1,10 +1,12 @@ #include <stdio.h> #include <stdlib.h> +#include <unistd.h> #include <fcntl.h> #include <string.h> #include <errno.h> #include <time.h> #include <linux/android_alarm.h> +#include <sys/ioctl.h> static void settime(char *s) { struct tm tm;