From 6b45384deb07b2f8fcb51c38bdba38263b5ef216 Mon Sep 17 00:00:00 2001 From: oster Date: Sat, 1 Apr 2006 18:03:55 +0000 Subject: [PATCH] We don't need (or want!) to include cpuframe.h or have sigstate visible to userland on m68k. Fixes numerous pkgsrc build issues where "struct frame" as defined in cpuframe.h pollutes the local namespace. Compile-tested full builds for hp300, mac68k, amiga, sun3, and next68k. OK'ed by matt@. --- sys/arch/m68k/include/signal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/m68k/include/signal.h b/sys/arch/m68k/include/signal.h index e77b1834b09e..b902ec8d94b6 100644 --- a/sys/arch/m68k/include/signal.h +++ b/sys/arch/m68k/include/signal.h @@ -1,4 +1,4 @@ -/* $NetBSD: signal.h,v 1.22 2005/12/11 12:17:53 christos Exp $ */ +/* $NetBSD: signal.h,v 1.23 2006/04/01 18:03:55 oster Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California. @@ -85,6 +85,7 @@ struct sigcontext { }; #endif /* _LIBC || _KERNEL */ +#ifdef _KERNEL #include /* @@ -99,6 +100,7 @@ struct sigstate { #define SS_RTEFRAME 0x01 #define SS_FPSTATE 0x02 #define SS_USERREGS 0x04 +#endif #if defined(__M68K_SIGNAL_PRIVATE)