[glib] glib-unix.h: Unconditionally include unistd.h



commit e08e70e08d65e2fce142491a6c8fc6068c8008d2
Author: Colin Walters <walters verbum org>
Date:   Mon May 2 17:02:16 2011 -0400

    glib-unix.h: Unconditionally include unistd.h
    
    danw points out it's part of POSIX.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=649201

 glib/glib-unix.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/glib/glib-unix.h b/glib/glib-unix.h
index c6eef4a..55aaf25 100644
--- 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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]