summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-02-26 22:59:32 +0000
committermiod <miod@openbsd.org>2003-02-26 22:59:32 +0000
commit7e0c1fa95b0d7b396b92821173fef5c984cc5dd9 (patch)
tree17852e432e0976fb00402dee189c58695d3706c0
parentFix symbol clash that would prevent a kernel configured with both ncr5380 (diff)
downloadwireguard-openbsd-7e0c1fa95b0d7b396b92821173fef5c984cc5dd9.tar.xz
wireguard-openbsd-7e0c1fa95b0d7b396b92821173fef5c984cc5dd9.zip
Let this compile if no DDB
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index 5255da14a61..565e7fff303 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.103 2003/02/24 17:37:59 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.104 2003/02/26 22:59:32 miod Exp $ */
/* $NetBSD: machdep.c,v 1.207 1998/07/08 04:39:34 thorpej Exp $ */
/*
@@ -1143,7 +1143,9 @@ getenvvars(flag, buf)
char *buf;
{
extern u_long bootdev, videobitdepth, videosize;
+#if defined(DDB) || NKSYMS > 0
extern u_long end, esym;
+#endif
extern u_long macos_boottime, MacOSROMBase;
extern long macos_gmtbias;
int root_scsi_id;