summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-05-24 09:18:24 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-05-24 09:18:24 +0000
commit3490aeab72099b899037f99ea85b7652615c9094 (patch)
tree72bb6cd4fc914cce66ea327013a42f231a93a81f
parente54541fa4656b50ec29dea396be935f3716af76b (diff)
downloadlibgpod-3490aeab72099b899037f99ea85b7652615c9094.tar.gz
libgpod-3490aeab72099b899037f99ea85b7652615c9094.tar.xz
libgpod-3490aeab72099b899037f99ea85b7652615c9094.zip
Add missing #include unistd.h
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1975 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-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>