From 824380045f502a3ae0654d6deba1faae62ad966c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 29 Jan 2008 23:14:21 +0000 Subject: 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 --- src/db-parse-context.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/db-parse-context.c') diff --git a/src/db-parse-context.c b/src/db-parse-context.c index 7217abf..cf5171d 100644 --- a/src/db-parse-context.c +++ b/src/db-parse-context.c @@ -21,7 +21,9 @@ * This product is not supported/written/published by Apple! * */ - +#ifdef HAVE_CONFIG_H +#include +#endif #include #include @@ -29,7 +31,9 @@ #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #include "db-parse-context.h" -- cgit