summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-05-24 09:18:24 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-05-24 09:18:24 +0000
commitbbbb7fd88022366478c6cba34e0310172aee3443 (patch)
tree72bb6cd4fc914cce66ea327013a42f231a93a81f /tools
parenta1b4fc3305cd827c7b88339be133719db4a47bbd (diff)
downloadlibgpod-bbbb7fd88022366478c6cba34e0310172aee3443.tar.gz
libgpod-bbbb7fd88022366478c6cba34e0310172aee3443.tar.xz
libgpod-bbbb7fd88022366478c6cba34e0310172aee3443.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')
-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>