$OpenBSD: patch-src_state_c,v 1.4 2012/03/29 12:43:22 ajacoutot Exp $

#error "Only <glib.h> can be included directly."

--- src/state.c.orig	Wed Jan  9 17:35:12 2008
+++ src/state.c	Thu Mar 29 14:00:06 2012
@@ -35,8 +35,8 @@
 #include <fcntl.h>
 #include <errno.h>
 
+#include <glib.h>
 #include <glib/gi18n.h>
-#include <glib/gmessages.h>
 #include <gtk/gtk.h>
 
 #include "configfile.h"
