projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccd4e3
)
girffi.c: Don't include unistd.h unconditionally
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Tue, 24 Jul 2012 07:56:59 +0000
(15:56 +0800)
committer
Colin Walters
<walters@verbum.org>
Sat, 27 Oct 2012 16:06:09 +0000
(12:06 -0400)
It does not exist on all platforms
https://bugzilla.gnome.org/show_bug.cgi?id=681820
girepository/girffi.c
patch
|
blob
|
history
diff --git
a/girepository/girffi.c
b/girepository/girffi.c
index
ec710c3
..
f4c80ea
100644
(file)
--- a/
girepository/girffi.c
+++ b/
girepository/girffi.c
@@
-26,7
+26,9
@@
#include <errno.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include "girffi.h"
#include "girepository.h"
#include "girepository-private.h"