$NetBSD: patch-aa,v 1.2 2009/07/12 10:33:12 hasso Exp $

--- oobs/oobs-group.c.orig	2008-01-02 16:07:38 +0200
+++ oobs/oobs-group.c	2009-07-12 10:43:25 +0300
@@ -18,6 +18,10 @@
  * Authors: Carlos Garnacho Parro  <carlosg@gnome.org>
  */
 
+#if defined(HAVE_CONFIG_H)
+#include <config.h>
+#endif
+
 #include <glib-object.h>
 #include "oobs-session.h"
 #include "oobs-group.h"
@@ -27,7 +31,11 @@
 #include "oobs-usersconfig.h"
 #include "oobs-defines.h"
 #include "utils.h"
+#ifdef HAVE_CRYPT_H
 #include <crypt.h>
+#else
+#include <unistd.h>
+#endif
 
 #define OOBS_GROUP_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), OOBS_TYPE_GROUP, OobsGroupPrivate))
 
