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@.
This commit is contained in:
parent
82818fa5ca
commit
6b45384deb
@ -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 <m68k/cpuframe.h>
|
||||
|
||||
/*
|
||||
@ -99,6 +100,7 @@ struct sigstate {
|
||||
#define SS_RTEFRAME 0x01
|
||||
#define SS_FPSTATE 0x02
|
||||
#define SS_USERREGS 0x04
|
||||
#endif
|
||||
|
||||
#if defined(__M68K_SIGNAL_PRIVATE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user