summaryrefslogtreecommitdiffstats
path: root/tools/hal-callout.c
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 /tools/hal-callout.c
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
Diffstat (limited to 'tools/hal-callout.c')
-rw-r--r--tools/hal-callout.c3
1 files changed, 3 insertions, 0 deletions
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>