1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/dviselect/files/patch-ab
Jean-Marc Zucconi 3d915fb36c Add a #include <errno.h> so that it compiles cleanly on NetBSD.
Submitted by:	Jim Dutton <jimd@siu.edu>
1998-06-17 20:17:56 +00:00

19 lines
314 B
Plaintext

--- lib/error.c Wed Nov 15 12:19:40 1989
+++ lib/error.c Wed Jun 10 23:17:18 1998
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <varargs.h>
+#include <errno.h>
#ifdef lint
@@ -32,7 +33,6 @@
extern char *ProgName;
extern int errno;
-extern char *sys_errlist[];
extern int sys_nerr;
error(va_alist)