pkgsrc/graphics/xv/patches/patch-af
2000-01-04 16:55:33 +00:00

24 lines
588 B
Text

$NetBSD: patch-af,v 1.3 2000/01/04 16:55:33 bouyer Exp $
--- xv.h.orig Tue Jan 4 17:12:42 2000
+++ xv.h Tue Jan 4 17:13:38 2000
@@ -107,9 +107,7 @@
#endif
-#if defined(__FreeBSD__)
-# include <sys/param.h>
-#endif
+#include <sys/param.h>
/* include files */
@@ -128,7 +126,7 @@
#ifndef VMS
# include <errno.h>
extern int errno; /* SHOULD be in errno.h, but often isn't */
-# if !(defined(BSD) && (BSD >= 199103))
+# if !(defined(BSD) && (BSD >= 199103)) && !defined(__linux__)
extern char *sys_errlist[]; /* this too... */
# endif
#endif