summaryrefslogtreecommitdiff
path: root/graphics/xv/patches/patch-af
blob: 30b079f6d980a3fd103542388134d9a84a7a561e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$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