mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
9d4e6e7aaa
PR: 7166 Submitted by: Pedro Giffuni <giffunip@asme.org>
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
*** 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[];
|