summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2006-01-09 23:53:41 +0000
committermillert <millert@openbsd.org>2006-01-09 23:53:41 +0000
commitea794d3bad35f12c2a83b08a609511154f348705 (patch)
treee2ca067152854d7ba32a750851fe96613dfed78b
parentno more ancontrol (i knew jsg would miss some) (diff)
downloadwireguard-openbsd-ea794d3bad35f12c2a83b08a609511154f348705.tar.xz
wireguard-openbsd-ea794d3bad35f12c2a83b08a609511154f348705.zip
Fix last change; we need machine/reg.h for struct sigcontext to
be fully defined.
-rw-r--r--sys/arch/m88k/include/signal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/m88k/include/signal.h b/sys/arch/m88k/include/signal.h
index a9bc75f1328..798c75a148d 100644
--- a/sys/arch/m88k/include/signal.h
+++ b/sys/arch/m88k/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.3 2006/01/08 14:20:17 millert Exp $ */
+/* $OpenBSD: signal.h,v 1.4 2006/01/09 23:53:41 millert Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* All rights reserved.
@@ -37,11 +37,9 @@
typedef int sig_atomic_t;
-#if __BSD_VISIBLE
+#if __BSD_VISIBLE || __XPG_VISIBLE >= 420
#include <machine/reg.h>
-#endif
-#if __BSD_VISIBLE || __XPG_VISIBLE >= 420
/*
* Information pushed on stack when a signal is delivered.
* This is used by the kernel to restore state following