summaryrefslogtreecommitdiff
path: root/sysutils/liboobs/patches/patch-aa
blob: 697e6873c8384f0a4e1f615b1e5d34fd20aa818c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.3 2009/10/31 02:52:46 wiz Exp $

--- oobs/oobs-group.c.orig	2009-09-05 14:07:20.000000000 +0000
+++ oobs/oobs-group.c
@@ -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
 
 /**
  * SECTION:oobs-group