summaryrefslogtreecommitdiffstats
path: root/usr.sbin/btxld
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/btxld')
-rw-r--r--usr.sbin/btxld/btxld.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/btxld/btxld.c b/usr.sbin/btxld/btxld.c
index 6fd7f45..7acf842 100644
--- a/usr.sbin/btxld/btxld.c
+++ b/usr.sbin/btxld/btxld.c
@@ -34,6 +34,11 @@ static const char rcsid[] =
#include <sys/stat.h>
#include <sys/mman.h>
+/* XXX make this work as an i386/amd64 cross-tool */
+#include <machine/exec.h>
+#undef __LDPGSZ
+#define __LDPGSZ 4096
+
#include <a.out.h>
#include <err.h>
#include <errno.h>
OpenPOWER on IntegriCloud