From c449db7704751cd1acabdbbed9f9281422bef4c7 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 24 Jul 2012 15:56:59 +0800 Subject: [PATCH] girffi.c: Don't include unistd.h unconditionally It does not exist on all platforms https://bugzilla.gnome.org/show_bug.cgi?id=681820 --- girffi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/girffi.c b/girffi.c index ec710c377..f4c80eaad 100644 --- a/girffi.c +++ b/girffi.c @@ -26,7 +26,9 @@ #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include "girffi.h" #include "girepository.h" #include "girepository-private.h"