summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorericj <ericj@openbsd.org>2000-11-18 05:26:12 +0000
committerericj <ericj@openbsd.org>2000-11-18 05:26:12 +0000
commitc3114d5b2e68fbdaf42933d550a9553345fba89f (patch)
tree4553a4a00e9745507895f556a460787926780f6f
parentavoid SIGHUP log issues, pr 1511, dean@bullock.net. It is still a signal (diff)
downloadwireguard-openbsd-c3114d5b2e68fbdaf42933d550a9553345fba89f.tar.xz
wireguard-openbsd-c3114d5b2e68fbdaf42933d550a9553345fba89f.zip
allow this to compile without COMPAT_OSF1
-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);