summaryrefslogtreecommitdiffstats
path: root/tools
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
commit9ff3586627cd3044062b384ee411154fcbe2fd6f (patch)
tree72bb6cd4fc914cce66ea327013a42f231a93a81f /tools
parent02ff218e687724332edadf43d9247c027437b664 (diff)
downloadlibgpod-9ff3586627cd3044062b384ee411154fcbe2fd6f.tar.gz
libgpod-9ff3586627cd3044062b384ee411154fcbe2fd6f.tar.xz
libgpod-9ff3586627cd3044062b384ee411154fcbe2fd6f.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>