summaryrefslogtreecommitdiff
path: root/devel/GConf/patches/patch-ad
blob: 151bbdca1cf1a01aa9d988311ec6322475c44616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ad,v 1.5 2007/09/21 12:58:14 wiz Exp $

Needed for Solaris 9. Without the <lber.h> header, struct berval, which
is used as a member of another struct in <ldap.h>, has an unknown size.

--- backends/evoldap-backend.c.orig	2007-03-02 22:10:18.000000000 +0000
+++ backends/evoldap-backend.c
@@ -25,6 +25,9 @@
 #include <unistd.h>
 #include <string.h>
 #include <time.h>
+#ifdef __sun
+#include <lber.h>
+#endif
 #include <ldap.h>
 #include <libxml/parser.h>
 #include <libxml/xpath.h>