From b28cf37dbfe2182dd18daaccc1f6bda66dd92560 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 --- girepository/girffi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/girepository/girffi.c b/girepository/girffi.c index ec710c37..f4c80eaa 100644 --- a/girepository/girffi.c +++ b/girepository/girffi.c @@ -26,7 +26,9 @@ #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include "girffi.h" #include "girepository.h" #include "girepository-private.h" -- 2.34.1