glib-unix.h: Unconditionally include unistd.h

danw points out it's part of POSIX.

https://bugzilla.gnome.org/show_bug.cgi?id=649201
This commit is contained in:
Colin Walters 2011-05-02 17:02:16 -04:00
parent e56498ee0b
commit e08e70e08d

View 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>