[glib] Solaris build fix
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Solaris build fix
- Date: Thu, 16 Nov 2017 10:36:31 +0000 (UTC)
commit b5733ecc76d8b80a78bfd35406b66a5217b60f20
Author: Patrick Welche <prlw1 cam ac uk>
Date: Thu Nov 7 10:05:45 2013 +0000
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
glib/gbacktrace.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/glib/gbacktrace.h b/glib/gbacktrace.h
index 96d4505..d7322f4 100644
--- a/glib/gbacktrace.h
+++ b/glib/gbacktrace.h
@@ -30,6 +30,9 @@
#endif
#include <glib/gtypes.h>
+#ifdef __sun__
+#include <sys/select.h>
+#endif
#include <signal.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]