summaryrefslogtreecommitdiff
path: root/net/tacacs/patches/patch-ab
blob: da17c651f83f34b1d4d861d69df359a76c14acaa (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-ab,v 1.2 2005/12/18 19:23:04 joerg Exp $

--- tac_plus.h.orig	2000-06-18 17:26:54.000000000 +0000
+++ tac_plus.h
@@ -79,6 +79,7 @@
 #define STDLIB_MALLOC
 #define NO_PWAGE
 #define CONST_SYSERRLIST
+#define HAVE_SYSERR_PROTO
 #define VOIDSIG
 #endif
 
@@ -689,12 +690,13 @@ extern void parser_init();
 extern void set_expiration_status();
 
 /* miscellaneous */
+#ifndef HAVE_SYSERR_PROTO
 #ifdef CONST_SYSERRLIST
 extern const char *const sys_errlist[];
 #else
 extern char *sys_errlist[];
 #endif
-extern int errno;
+#endif
 extern int sendauth_fn();
 extern int sendpass_fn();
 extern int enable_fn();