summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-11-18 05:26:13 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-11-18 05:26:13 +0000
commit98fb1ee19eeb1d6976c6228183be467c2a17a92c (patch)
treef612d8da86b7d16d641ef05c81621996fee84770 /sys/arch
parentcbda16ca2e1a505435c6ef066467d2beed2a51b7 (diff)
allow this to compile without COMPAT_OSF1
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/machdep.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index 0320c77317c..1eff9e1c668 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.36 2000/11/16 04:33:46 ericj Exp $ */
+/* $OpenBSD: machdep.c,v 1.37 2000/11/18 05:26:12 ericj Exp $ */
/* $NetBSD: machdep.c,v 1.206 2000/05/23 05:12:54 thorpej Exp $ */
/*-
@@ -2068,7 +2068,10 @@ cpu_exec_ecoff_hook(p, epp)
struct exec_package *epp;
{
struct ecoff_exechdr *execp = (struct ecoff_exechdr *)epp->ep_hdr;
- extern struct emul emul_native, emul_osf1;
+#ifdef COMPAT_OSF1
+ extern struct emul emul_osf1;
+#endif
+ extern struct emul emul_native;
int error;
extern int osf1_exec_ecoff_hook(struct proc *p,
struct exec_package *epp);