summaryrefslogtreecommitdiffstats
path: root/hwclock/kd.c
diff options
context:
space:
mode:
Diffstat (limited to 'hwclock/kd.c')
-rw-r--r--hwclock/kd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hwclock/kd.c b/hwclock/kd.c
index cac767888..2581fa5dd 100644
--- a/hwclock/kd.c
+++ b/hwclock/kd.c
@@ -12,6 +12,7 @@ probe_for_kd_clock() {
#include <unistd.h> /* for close() */
#include <fcntl.h> /* for O_RDONLY */
+#include <errno.h>
#include <sysexits.h>
#include <sys/ioctl.h>