openbsd-ports/comms/mgetty+sendfax/patches/patch-af

25 lines
748 B
Plaintext

*** logfile.c.orig Thu Dec 17 06:12:16 1998
--- logfile.c Thu Dec 17 06:13:05 1998
***************
*** 52,59 ****
/* Most systems have these variables but do not declare them. On many
of those systems that _do_ declare them, it won't hurt */
extern int sys_nerr;
! #if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__GLIBC__)
extern char *sys_errlist[];
#endif
--- 52,62 ----
/* Most systems have these variables but do not declare them. On many
of those systems that _do_ declare them, it won't hurt */
+ #ifndef __OpenBSD__
extern int sys_nerr;
! #endif
!
! #if !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined( __FreeBSD__ ) && !defined(__GLIBC__)
extern char *sys_errlist[];
#endif