$NetBSD: patch-ci,v 1.2 2012/05/01 18:45:53 adam Exp $

needed for calls to major() & minor()

--- gio/gdbusmessage.c.orig	2010-11-10 14:02:41.786659900 -0600
+++ gio/gdbusmessage.c	2010-11-10 14:03:53.567042800 -0600
@@ -52,6 +52,9 @@
 
 #ifdef G_OS_UNIX
 #include "gunixfdlist.h"
+#ifdef __sun
+#include <sys/mkdev.h>
+#endif
 #endif
 
 #include "glibintl.h"
