summaryrefslogtreecommitdiffstats
path: root/hwclock/rtc.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:28 +0100
committerKarel Zak2006-12-07 00:26:28 +0100
commit5213517f54c70a784c06ee85c066aa2b4f375c4b (patch)
treebd0b55ed9621bf27f70fc2e338a9816496246beb /hwclock/rtc.c
parentImported from util-linux-2.12k tarball. (diff)
downloadkernel-qcow2-util-linux-5213517f54c70a784c06ee85c066aa2b4f375c4b.tar.gz
kernel-qcow2-util-linux-5213517f54c70a784c06ee85c066aa2b4f375c4b.tar.xz
kernel-qcow2-util-linux-5213517f54c70a784c06ee85c066aa2b4f375c4b.zip
Imported from util-linux-2.12l tarball.
Diffstat (limited to 'hwclock/rtc.c')
-rw-r--r--hwclock/rtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hwclock/rtc.c b/hwclock/rtc.c
index cbb2dddea..a2aa0b825 100644
--- a/hwclock/rtc.c
+++ b/hwclock/rtc.c
@@ -1,6 +1,7 @@
/* rtc.c - Use /dev/rtc for clock access */
#include <unistd.h> /* for close() */
#include <fcntl.h> /* for O_RDONLY */
+#include <errno.h>
#include <sysexits.h>
#include <sys/ioctl.h>
#include <sys/time.h> /* for struct timeval */