summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/gptboot.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-11-11 06:27:34 +0000
committerbde <bde@FreeBSD.org>2003-11-11 06:27:34 +0000
commita1d40b05dca6a04066d9767cfd93c1af0ec26774 (patch)
tree86f927bcc56263907832e51e468efded9b53f6b1 /sys/boot/i386/gptboot/gptboot.c
parent307d8abd077a898d82d0198e166f134095f92e1b (diff)
downloadFreeBSD-src-a1d40b05dca6a04066d9767cfd93c1af0ec26774.zip
FreeBSD-src-a1d40b05dca6a04066d9767cfd93c1af0ec26774.tar.gz
Include <sys/reboot.h> the definition of RB_BOOTINFO. The previous
commit broke the world because it depended on namespace pollution that was only in my version of <machine/bootinfo.h>. The include was removed in rev.1.63 after the last reference to it went away in rev.1.61.
Diffstat (limited to 'sys/boot/i386/gptboot/gptboot.c')
-rw-r--r--sys/boot/i386/gptboot/gptboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/i386/gptboot/gptboot.c b/sys/boot/i386/gptboot/gptboot.c
index 5d84f0d..2f9971a 100644
--- a/sys/boot/i386/gptboot/gptboot.c
+++ b/sys/boot/i386/gptboot/gptboot.c
@@ -20,6 +20,8 @@ __FBSDID("$FreeBSD$");
#include <sys/disklabel.h>
#include <sys/diskmbr.h>
#include <sys/dirent.h>
+#include <sys/reboot.h>
+
#include <machine/bootinfo.h>
#include <machine/elf.h>
OpenPOWER on IntegriCloud