Subject: Patch for gated-2.1/src/str.c
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Michael Graff <explorer@vorpal.com>
List: current-users
Date: 02/24/1994 02:16:34
As seems to happen a lot these days, sys_errlist is redefined. Here's the
patch for othersrc/gated-2.1/src/str.c:
*** gated-2.1/src/str.c.orig Thu Feb 24 01:57:42 1994
--- gated-2.1/src/str.c Thu Feb 24 02:15:34 1994
***************
*** 72,79 ****
--- 72,82 ----
#ifndef vax11c
+ #ifndef __NetBSD__
extern int sys_nerr;
+ /* NetBSD has this in stdio.h */
extern char *sys_errlist[];
+ #endif
#define gd_error(x) x < sys_nerr ? sys_errlist[x] : "Unknown error number"
#else /* vax11c */
--Michael
--
Michael Graff <explorer@vorpal.com>
1304 Florida #3 (515) 296-2735
Ames, IA 50014 PGP key on a key-server near you!
------------------------------------------------------------------------------