summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-04-14 04:13:27 +0000
committerpeter <peter@FreeBSD.org>2005-04-14 04:13:27 +0000
commit04280655a141e6235348b480b221316f24ef8b6a (patch)
treecf0f2d3248cc2c5ef139a34efc8c0339a32d14ce /sys/i386
parent12b04c72461da0830671338f7e86426e0756c65e (diff)
downloadFreeBSD-src-04280655a141e6235348b480b221316f24ef8b6a.zip
FreeBSD-src-04280655a141e6235348b480b221316f24ef8b6a.tar.gz
It seems I introduced a new prerequisite for <machine/pcb.h> on i386,
which is included from <sys/user.h>. Add a bandaid for userland.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/pcb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/include/pcb.h b/sys/i386/include/pcb.h
index be415c2..8a58da2 100644
--- a/sys/i386/include/pcb.h
+++ b/sys/i386/include/pcb.h
@@ -39,6 +39,9 @@
/*
* Intel 386 process control block
*/
+#ifndef _KERNEL
+#include <machine/segments.h>
+#endif
#include <machine/npx.h>
struct pcb {
OpenPOWER on IntegriCloud