summaryrefslogtreecommitdiff
path: root/usr.bin/strip/strip.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-05-11 07:41:26 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-05-11 07:41:26 +0000
commita403f719dbf63e2a495bbb84cf5ba0cfbc5551d2 (patch)
tree589f50e13196515d77c4938b0da845f8174ab037 /usr.bin/strip/strip.c
parent08e4ebbf797bd37f19c30822d3e6c4ebc452a8c1 (diff)
Support building for cross purposes
Diffstat (limited to 'usr.bin/strip/strip.c')
-rw-r--r--usr.bin/strip/strip.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/strip/strip.c b/usr.bin/strip/strip.c
index 34b8d244002..44aca452a37 100644
--- a/usr.bin/strip/strip.c
+++ b/usr.bin/strip/strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strip.c,v 1.9 1997/09/11 11:21:54 deraadt Exp $ */
+/* $OpenBSD: strip.c,v 1.10 1998/05/11 07:41:25 niklas Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)strip.c 5.8 (Berkeley) 11/6/91";*/
-static char rcsid[] = "$OpenBSD: strip.c,v 1.9 1997/09/11 11:21:54 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: strip.c,v 1.10 1998/05/11 07:41:25 niklas Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -57,6 +57,11 @@ static char rcsid[] = "$OpenBSD: strip.c,v 1.9 1997/09/11 11:21:54 deraadt Exp $
#include <string.h>
#include <err.h>
+#ifdef MID_MACHINE_OVERRIDE
+#undef MID_MACHINE
+#define MID_MACHINE MID_MACHINE_OVERRIDE
+#endif
+
typedef struct exec EXEC;
typedef struct nlist NLIST;