summaryrefslogtreecommitdiffstats
path: root/converters/recode/files
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-04-16 22:32:47 +0000
committermbr <mbr@FreeBSD.org>2003-04-16 22:32:47 +0000
commit7cbb514c08da187a94b20f4b6a2dd3ab45410365 (patch)
tree1408a3896938b790d50a85935cba690005eecc9c /converters/recode/files
parent7678d94f7f1c4c3c047d23f535d1f65740dcf27d (diff)
downloadFreeBSD-ports-7cbb514c08da187a94b20f4b6a2dd3ab45410365.zip
FreeBSD-ports-7cbb514c08da187a94b20f4b6a2dd3ab45410365.tar.gz
Fix compilation on alpha.
Submitted by: Christian Weisgerber <naddy@freebsd.org> PR: 51066
Diffstat (limited to 'converters/recode/files')
-rw-r--r--converters/recode/files/patch-lib-error.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/converters/recode/files/patch-lib-error.c b/converters/recode/files/patch-lib-error.c
index f98aed7..957c402d 100644
--- a/converters/recode/files/patch-lib-error.c
+++ b/converters/recode/files/patch-lib-error.c
@@ -1,25 +1,23 @@
---- lib/error.c.orig Mon Mar 10 10:57:22 2003
-+++ lib/error.c Mon Mar 10 11:02:12 2003
-@@ -25,6 +25,18 @@
+--- lib/error.c.orig Thu Aug 3 03:21:13 2000
++++ lib/error.c Thu Apr 17 00:29:29 2003
+@@ -25,6 +25,16 @@
# include <config.h>
#endif
+# ifdef __FreeBSD__
+# include <sys/types.h>
+# include <sys/exec.h>
++# include <sys/param.h>
+# include <vm/vm.h>
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
-+# include <machine/param.h>
-+# include <machine/vmparam.h>
-+# include <machine/pmap.h>
+# endif
+
#include <stdio.h>
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
-@@ -80,7 +92,11 @@
+@@ -80,7 +90,11 @@
/* The calling program should define program_name and set it to the
name of the executing program. */
OpenPOWER on IntegriCloud