summaryrefslogtreecommitdiff
path: root/net/arla/patches/patch-ae
blob: 6d684962926cee7e04c0da83155bb3d339b97932 (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
28
29
$NetBSD: patch-ae,v 1.5 2005/03/25 17:40:25 wennmach Exp $

Conditionaly remove unneeded include file, else it won't compile under
NetBSD-1.6.x.

Include <krb5/kafs.h> instead of <kafs.h> in order to get the right prototype
for kafs_settoken_rxkad.

--- appl/lib/ka-procs.c.orig	Mon Mar 14 19:33:24 2005
+++ appl/lib/ka-procs.c	Mon Mar 14 19:33:38 2005
@@ -53,7 +53,9 @@
 
 #ifdef HAVE_OPENSSL
 #include <openssl/des.h>
+#if __NetBSD_Version__ >= 200000000
 #include <openssl/ui.h>
+#endif
 #include <openssl/opensslv.h>
 #endif
 
@@ -80,7 +82,7 @@
 #include <ka.h>
 #include <ka.cs.h>
 
-#include <kafs.h>
+#include <krb5/kafs.h>
 
 typedef struct {
     char dat[MAXKTCTICKETLEN];