summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2015-03-06 14:29:55 +0100
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2015-03-06 14:29:55 +0100
commitf614668ac0c1740e3d29f5ebe087babc26a532df (patch)
tree8f9c5350c5329b74b001beaf52cdfa3d6c07d973
parent2b4f63bce6a471379f1ae8d1125ce857e34e3432 (diff)
downloadjuno-linaro-kk.tar.gz
Include <string.h> and <unistd.h>linaro-kk
Needed to build on current AOSP master -- they're no longer implicitly included by other headers used here Change-Id: I754de54c83cb3ad56976138618e8a4d09c2d3933 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 34cb50a..62149b4 100644
--- a/hwclock/hwclock.c
+++ b/hwclock/hwclock.c
@@ -7,6 +7,8 @@
#include <sys/ioctl.h>
#include <stdlib.h>
#include <errno.h>
+#include <string.h>
+#include <unistd.h>
#include <linux/rtc.h>
/*