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:
e56498e
)
glib-unix.h: Unconditionally include unistd.h
author
Colin Walters
<walters@verbum.org>
Mon, 2 May 2011 21:02:16 +0000
(17:02 -0400)
committer
Colin Walters
<walters@verbum.org>
Tue, 3 May 2011 12:37:27 +0000
(08:37 -0400)
danw points out it's part of POSIX.
https://bugzilla.gnome.org/show_bug.cgi?id=649201
glib/glib-unix.h
patch
|
blob
|
history
diff --git
a/glib/glib-unix.h
b/glib/glib-unix.h
index
c6eef4a
..
55aaf25
100644
(file)
--- a/
glib/glib-unix.h
+++ b/
glib/glib-unix.h
@@
-26,9
+26,7
@@
* system, work around it here (or better, fix the system or tell
* people to use a better one).
*/
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <errno.h>
#include <sys/wait.h>
#include <stdlib.h>