summaryrefslogtreecommitdiffstats
path: root/hwclock/cmos.c
diff options
context:
space:
mode:
Diffstat (limited to 'hwclock/cmos.c')
-rw-r--r--hwclock/cmos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hwclock/cmos.c b/hwclock/cmos.c
index 8d497b27e..399a912c9 100644
--- a/hwclock/cmos.c
+++ b/hwclock/cmos.c
@@ -46,6 +46,7 @@
#include <unistd.h> /* for geteuid() */
#include <fcntl.h> /* for O_RDWR */
+#include <errno.h>
#include "../defines.h" /* for HAVE_sys_io_h */
#include "nls.h"