$NetBSD: patch-cc,v 1.3 2013/04/19 22:21:41 prlw1 Exp $

http://bugzilla.gnome.org/show_bug.cgi?id=562334

--- glib/gbacktrace.h.orig	2013-03-13 13:39:09.000000000 +0000
+++ glib/gbacktrace.h
@@ -32,6 +32,9 @@
 #endif
 
 #include <glib/gtypes.h>
+#ifdef __sun__
+#include <sys/select.h>
+#endif
 #include <signal.h>
 
 G_BEGIN_DECLS
