Author: marcel Date: Sun Mar 21 22:33:09 2010 New Revision: 205428 URL: http://svn.freebsd.org/changeset/base/205428
Log: Don't include <machine/_regset.h> when _MACHINE_REGSET_H_ in defined. This is not for multiple inclusion purposes, because _regset.h already handles this, but to enable inclusion of the MD header by cross-tools on non-ia64 installations. The cross-tool can include _regset.h itself before including MD headers that depend on it. Modified: head/sys/ia64/include/frame.h head/sys/ia64/include/pcb.h Modified: head/sys/ia64/include/frame.h ============================================================================== --- head/sys/ia64/include/frame.h Sun Mar 21 21:33:21 2010 (r205427) +++ head/sys/ia64/include/frame.h Sun Mar 21 22:33:09 2010 (r205428) @@ -29,7 +29,9 @@ #ifndef _MACHINE_FRAME_H_ #define _MACHINE_FRAME_H_ +#ifndef _MACHINE_REGSET_H_ #include <machine/_regset.h> +#endif /* * Software trap, exception, and syscall frame. Modified: head/sys/ia64/include/pcb.h ============================================================================== --- head/sys/ia64/include/pcb.h Sun Mar 21 21:33:21 2010 (r205427) +++ head/sys/ia64/include/pcb.h Sun Mar 21 22:33:09 2010 (r205428) @@ -30,7 +30,9 @@ #ifndef _MACHINE_PCB_H_ #define _MACHINE_PCB_H_ +#ifndef _MACHINE_REGSET_H_ #include <machine/_regset.h> +#endif /* * PCB: process control block _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"