summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2010-03-21 22:33:09 +0000
committermarcel <marcel@FreeBSD.org>2010-03-21 22:33:09 +0000
commit8ed51dd270b734c5c3991031040355389cbe1248 (patch)
tree626487eeffd118e5ebd6cdd15a1c8f3d14e8ce22 /sys/ia64/include
parent9792f6e953c151c5df861e4c49cf9ed1d3762f38 (diff)
downloadFreeBSD-src-8ed51dd270b734c5c3991031040355389cbe1248.zip
FreeBSD-src-8ed51dd270b734c5c3991031040355389cbe1248.tar.gz
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.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r--sys/ia64/include/frame.h2
-rw-r--r--sys/ia64/include/pcb.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/ia64/include/frame.h b/sys/ia64/include/frame.h
index 262a8bf..683d164 100644
--- a/sys/ia64/include/frame.h
+++ b/sys/ia64/include/frame.h
@@ -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.
diff --git a/sys/ia64/include/pcb.h b/sys/ia64/include/pcb.h
index 5d250bf..59334bf 100644
--- a/sys/ia64/include/pcb.h
+++ b/sys/ia64/include/pcb.h
@@ -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
OpenPOWER on IntegriCloud