summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2015-03-13 08:19:10 +0100
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2015-03-13 08:19:10 +0100
commit33df9bbf45f3e3c97a1e7de9579ee13e7c9e36bb (patch)
tree5720f668d5d1cdd55571f150d172979baee91cad
parent37b3023c3b6ec829aa57107ec481e1bc03b6b42d (diff)
downloadjuno32-linaro-lollipop.tar.gz
Include <string.h> and <unistd.h>linaro-lollipop
Needed to build on current AOSP master -- they're no longer implicitly included by other headers used here Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--hwclock/hwclock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c
index 3d374e3..f662145 100644
--- a/hwclock/hwclock.c
+++ b/hwclock/hwclock.c
@@ -9,6 +9,8 @@
#include <sys/ioctl.h>
#include <stdlib.h>
#include <errno.h>
+#include <string.h>
+#include <unistd.h>
#include <linux/rtc.h>
/*