summaryrefslogtreecommitdiff
path: root/net/gopher/files/patch-aa
blob: 4a691eb70fe73ef7f45b479f45a87b3cb4505e47 (plain) (blame)
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
30
31
32
33
34
35
36
37
38
*** gopherd/error.c.orig	Fri Dec 27 17:13:12 1996
--- gopherd/error.c	Fri Dec 27 17:26:28 1996
***************
*** 255,261 ****
  
  extern int errno;		/* UNIX error number */
  extern int sys_nerr;		/* # of error message strings in sys table */
! #ifdef __NetBSD__
  extern const char *const sys_errlist[];	/* the system error message table */
  #else
  extern char *sys_errlist[];	/* the system error message table */
--- 255,261 ----
  
  extern int errno;		/* UNIX error number */
  extern int sys_nerr;		/* # of error message strings in sys table */
! #if !(defined(BSD) && (BSD >= 199103))
  extern const char *const sys_errlist[];	/* the system error message table */
  #else
  extern char *sys_errlist[];	/* the system error message table */
*** gopher/globals.h.orig	Fri Nov  3 16:18:17 1995
--- gopher/globals.h	Mon Apr 14 15:33:32 1997
***************
*** 129,135 ****
  
  #ifndef VMS
  extern char **environ;                  /* User environment array */
! #ifdef __NetBSD__
  extern const char *const sys_errlist[];
  #else
  extern char *sys_errlist[];
--- 129,135 ----
  
  #ifndef VMS
  extern char **environ;                  /* User environment array */
! #if defined(__NetBSD__) || defined(__FreeBSD__)
  extern const char *const sys_errlist[];
  #else
  extern char *sys_errlist[];