pkgsrc/comms/mgetty+sendfax/patches/patch-af

18 lines
711 B
Text
Raw Normal View History

$NetBSD: patch-af,v 1.6 2005/03/07 11:29:28 wiz Exp $
2003-09-25 22:27:12 +02:00
--- logfile.c.orig 2003-01-14 22:30:20.000000000 +0100
2003-09-25 22:27:12 +02:00
+++ logfile.c
@@ -58,9 +58,11 @@ extern int atexit _PROTO(( void (*)(void
2003-09-25 22:27:12 +02:00
/* Most systems have these variables but do not declare them. On many
of those systems that _do_ declare them, it won't hurt */
+#if !defined(__NetBSD__)
extern int sys_nerr;
-#if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
+# if !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
extern char *sys_errlist[];
+# endif
#endif
/* Interactive Unix is a little bit braindead - does not have atexit(),