diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-01-29 23:14:21 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-01-29 23:14:21 +0000 |
commit | 824380045f502a3ae0654d6deba1faae62ad966c (patch) | |
tree | a6a51d43722d1697c8b6c484e2e66a2370ef3f19 /src/itdb_device.c | |
parent | 388937b8a78bc4d4e0a72721af7c1001b0ed9e22 (diff) | |
download | libgpod-824380045f502a3ae0654d6deba1faae62ad966c.tar.gz libgpod-824380045f502a3ae0654d6deba1faae62ad966c.tar.xz libgpod-824380045f502a3ae0654d6deba1faae62ad966c.zip |
Portability fix: only include unistd.h when it's available
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1940 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_device.c')
-rw-r--r-- | src/itdb_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/itdb_device.c b/src/itdb_device.c index fc2511c..2116fe5 100644 --- a/src/itdb_device.c +++ b/src/itdb_device.c @@ -38,7 +38,9 @@ #include <string.h> #include <sys/stat.h> #include <sys/types.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <glib/gi18n-lib.h> static const Itdb_IpodInfo ipod_info_table [] = { |