Date: Sun, 21 Mar 2010 22:33:10 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r205428 - head/sys/ia64/include Message-ID: <201003212233.o2LMXAV0034913@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003212233.o2LMXAV0034913>