GNOME Bugzilla – Bug 653970
Fix build on OpenBSD
Last modified: 2019-02-22 06:01:52 UTC
Created attachment 191248 [details] [review] Fix build on OpenBSD. On OpenBSD headers don't include headers that include headers etcetc. So make it more clear that we require these headers. Fixes the build on OpenBSD. Ok to push?
Why do you move string.h ? I have a preference to put the system headers in one block and in alphabetic order
That's just common practice (in OpenBSD). sys/* come before others, so headers like sys/types.h are included before any types declared there are used in other headers.
Applied, thanks commit 43b3c5344ba0f0cab3848864938ad0a0c93b49cf Author: Jasper Lievisse Adriaanse <jasper@humppa.nl> Date: Mon Jul 4 19:46:00 2011 +0000 Fix build on OpenBSD. https://bugzilla.gnome.org/show_bug.cgi?id=653970