summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/rtc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-04-02 06:46:48 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-04-02 06:46:48 +0000
commitce65cd1726a76b2721dda6d55cc279bae85db0b1 (patch)
tree3349cc544749bce057b4335971196d8ed07db4d9 /c/src/libchip/rtc
parent2010-04-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ce65cd1726a76b2721dda6d55cc279bae85db0b1.tar.bz2
#include <unistd.h>.
Diffstat (limited to 'c/src/libchip/rtc')
-rw-r--r--c/src/libchip/rtc/ds1375.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/libchip/rtc/ds1375.c b/c/src/libchip/rtc/ds1375.c
index 4946e9a9df..e49a7451c3 100644
--- a/c/src/libchip/rtc/ds1375.c
+++ b/c/src/libchip/rtc/ds1375.c
@@ -50,6 +50,8 @@
/* This driver uses the file-system interface to the i2c bus */
+#include <unistd.h> /* write, read, close */
+
#include <rtems.h>
#include <rtems/rtc.h>
#include <libchip/rtc.h>