summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--tools/hal-callout.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3410497..994cba0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-24 Christophe Fergeau <teuf at gnome.org>
+
+ Patch from Jacob Hoffman-Andrews <jsha at newview.org>
+
+ * tools/hal-callout.c: add missing #include <unistd.h>
+
2008-05-17 Jorg Schuler <jcsjcs at users.sourceforge.net>
* tests/test-covers.c: print more info (marginally)
diff --git a/tools/hal-callout.c b/tools/hal-callout.c
index 39266fc..e7313fe 100644
--- a/tools/hal-callout.c
+++ b/tools/hal-callout.c
@@ -32,6 +32,9 @@
#endif
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <sys/mount.h>
#include <itdb.h>
#include <itdb_device.h>