projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3812559
)
builder: do not include <unistd.h> on win32
author
Ryan Lortie
<desrt@desrt.ca>
Fri, 15 Apr 2011 13:27:38 +0000
(09:27 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Fri, 15 Apr 2011 13:27:38 +0000
(09:27 -0400)
Spotted by Kean Johnston <kean.johnston@gmail.com>.
https://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00010.html
gvdb-builder.c
patch
|
blob
|
history
diff --git
a/gvdb-builder.c
b/gvdb-builder.c
index
4b48d80
..
f65ca7d
100644
(file)
--- a/
gvdb-builder.c
+++ b/
gvdb-builder.c
@@
-24,7
+24,9
@@
#include <glib.h>
#include <fcntl.h>
+#if !defined(G_OS_WIN32) || !defined(_MSC_VER)
#include <unistd.h>
+#endif
#include <string.h>