summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include/signal.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-14 21:46:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-14 21:46:32 +0000
commit3fce9befb1d4f65739adc427683f5a6357ee102f (patch)
treebda10871810ec2e3c47c06cfa6e07b88df5efe02 /sys/arch/m88k/include/signal.h
parent6ffc06fbc8f7e1d2c6134ab0d4563b6a189b983c (diff)
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
Diffstat (limited to 'sys/arch/m88k/include/signal.h')
-rw-r--r--sys/arch/m88k/include/signal.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/m88k/include/signal.h b/sys/arch/m88k/include/signal.h
index 8531f7f05f6..d0d5217e960 100644
--- a/sys/arch/m88k/include/signal.h
+++ b/sys/arch/m88k/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.1 2004/04/26 12:34:05 miod Exp $ */
+/* $OpenBSD: signal.h,v 1.2 2005/12/14 21:46:31 millert Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* All rights reserved.
@@ -33,10 +33,13 @@
#ifndef __MACHINE_SIGNAL_H__
#define __MACHINE_SIGNAL_H__
-#include <machine/reg.h>
+#include <sys/cdefs.h>
typedef int sig_atomic_t;
+#if __BSD_VISIBLE
+#include <machine/reg.h>
+
/*
* Information pushed on stack when a signal is delivered.
* This is used by the kernel to restore state following
@@ -52,5 +55,5 @@ struct sigcontext {
/* begin machine dependent portion */
struct reg sc_regs;
};
-
+#endif /* __BSD_VISIBLE */
#endif /* __MACHINE_SIGNAL_H__ */