glib-unix.h: Unconditionally include unistd.h
authorColin Walters <walters@verbum.org>
Mon, 2 May 2011 21:02:16 +0000 (17:02 -0400)
committerColin 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

index c6eef4a..55aaf25 100644 (file)
@@ -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>