pkgsrc/devel/bcc/patches/patch-aq

23 lines
484 B
Text

$NetBSD: patch-aq,v 1.1 2001/12/25 22:46:32 wiz Exp $
--- ld/ld.c.orig Sat Feb 19 23:36:05 1994
+++ ld/ld.c
@@ -3,7 +3,6 @@
/* Copyright (C) 1994 Bruce Evans */
#include "const.h"
-#include "byteord.h"
#include "type.h"
#include "globvar.h"
@@ -25,6 +24,10 @@
#undef NULL
#include <unistd.h>
#endif
+
+/* BSD #defines this in <machine/endian.h>, but with another sense */
+#undef BIG_ENDIAN
+#include "byteord.h"
#define MAX_LIBS (NR_STDLIBS + 5)
#define NR_STDLIBS 1