summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/signal.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-04-03 01:03:12 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-04-03 01:03:12 +0000
commitf213edb15219c8279733fbad5da056e7d1f38d64 (patch)
tree639fd44c0fb16e1df49ce6128e3e50f9d07aada0 /sys/arch/hppa/include/signal.h
parent0a5f0e8a9d711e5f64a84f617cd0507b83d9b1f6 (diff)
make it look more like the other archs
Diffstat (limited to 'sys/arch/hppa/include/signal.h')
-rw-r--r--sys/arch/hppa/include/signal.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/hppa/include/signal.h b/sys/arch/hppa/include/signal.h
index 0d33f8862f9..887457fc799 100644
--- a/sys/arch/hppa/include/signal.h
+++ b/sys/arch/hppa/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.4 2003/08/04 16:39:24 mickey Exp $ */
+/* $OpenBSD: signal.h,v 1.5 2004/04/03 01:03:11 mickey Exp $ */
/*
* Copyright (c) 1994, The University of Utah and
@@ -23,15 +23,17 @@
* Utah $Hdr: signal.h 1.3 94/12/16$
*/
+#ifndef _HPPA_SIGNAL_H_
+#define _HPPA_SIGNAL_H_
+
/*
* Machine-dependent signal definitions
*/
typedef int sig_atomic_t;
-#ifndef _POSIX_SOURCE
-#include <machine/trap.h> /* codes for SIGILL, SIGFPE */
-#endif
+#ifndef _ANSI_SOURCE
+#include <machine/trap.h>
/*
* Information pushed on stack when a signal is delivered.
@@ -51,3 +53,5 @@ struct sigcontext {
unsigned sc_regs[32];
unsigned sc_fpregs[64];
};
+#endif /* !_ANSI_SOURCE */
+#endif /* !_HPPA_SIGNAL_H_ */