$OpenBSD: patch-common_gkr-unix-credentials_c,v 1.2 2008/06/02 13:38:48 ajacoutot Exp $
--- common/gkr-unix-credentials.c.orig	Mon Jun  2 09:09:15 2008
+++ common/gkr-unix-credentials.c	Mon Jun  2 09:09:47 2008
@@ -25,6 +25,10 @@
 
 #include "gkr-unix-credentials.h"
 
+#if defined(HAVE_GETPEEREID) /* OpenBSD */
+#include <glib/gmessages.h>
+#endif
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/uio.h>
