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:
Patrick Welche 2013-11-07 10:05:45 +00:00 committed by Philip Withnall
parent b2a0057c14
commit b5733ecc76

View File

@ -30,6 +30,9 @@
#endif
#include <glib/gtypes.h>
#ifdef __sun__
#include <sys/select.h>
#endif
#include <signal.h>
G_BEGIN_DECLS