summaryrefslogtreecommitdiff
path: root/security/openssh/patches/patch-ar
blob: f5e3dfd53749ea446354a6aab1af7d1075df5761 (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
$NetBSD: patch-ar,v 1.3 2004/11/04 12:46:33 markd Exp $

--- includes.h.orig	2004-08-15 02:01:48.000000000 +1200
+++ includes.h
@@ -176,11 +176,6 @@ static /**/const char *const rcsid[] = {
 # include <libutil.h> /* Openpty on FreeBSD at least */
 #endif
 
-#if defined(KRB5) && defined(USE_AFS)
-# include <krb5.h>
-# include <kafs.h>
-#endif
-
 /*
  * On HP-UX 11.11, shadow.h and prot.h provide conflicting declarations
  * of getspnam when _INCLUDE__STDC__ is defined, so we unset it here.
@@ -195,6 +190,11 @@ static /**/const char *const rcsid[] = {
 
 #include "defines.h"
 
+#if defined(KRB5) && defined(USE_AFS)
+# include <krb5.h>
+# include <kafs.h>
+#endif
+
 #include "version.h"
 #include "openbsd-compat/openbsd-compat.h"
 #include "openbsd-compat/bsd-nextstep.h"