mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Solaris build fix
On Solaris sigset_t is only defined in /usr/include/sys/signal.h (included from /usr/include/signal.h) if _XPG4_2 is defined. If it's not defined, you need to include /usr/include/sys/select.h. http://bugzilla.gnome.org/show_bug.cgi?id=562334
This commit is contained in:
parent
b2a0057c14
commit
b5733ecc76
@ -30,6 +30,9 @@
|
||||
#endif
|
||||
|
||||
#include <glib/gtypes.h>
|
||||
#ifdef __sun__
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user