After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664559 - sys/wait.h not available on windows
sys/wait.h not available on windows
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.31.x
Other Windows
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-11-22 13:02 UTC by Maarten Bosmans
Modified: 2011-11-23 03:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove unnecessary includes (689 bytes, patch)
2011-11-23 03:42 UTC, Matthias Clasen
committed Details | Review

Description Maarten Bosmans 2011-11-22 13:02:48 UTC
Commit 89ad8bda233cb69608570471a18bc3c42d28db28 added that header unconditionally

Fix is to protect with HAVE_WAIT_H or disable building glib/tests/mainloop when sys/wait.h is not available.
Comment 1 Matthias Clasen 2011-11-23 03:41:55 UTC
The following fix has been pushed:
d0e2865 Remove unnecessary includes
Comment 2 Matthias Clasen 2011-11-23 03:42:01 UTC
Created attachment 201969 [details] [review]
Remove unnecessary includes

These were meant for some other test that ended up not getting
added. This fixes bug 664559.