Shuffle the includes around so they occur after opt_global.h is included;

this way the CPU ABI / core #define items are there.

Reviewed by:	imp@
Approved by:	re@ (gjb)
This commit is contained in:
Adrian Chadd 2013-10-09 00:22:21 +00:00
parent 57778cfec4
commit 2e2f21556e

View File

@ -32,10 +32,6 @@ __FBSDID("$FreeBSD$");
#else
#include <sys/elf32.h>
#endif
#include <sys/inflate.h>
#include <machine/elf.h>
#include <machine/cpufunc.h>
#include <machine/stdarg.h>
/*
* Since we are compiled outside of the normal kernel build process, we
@ -43,6 +39,11 @@ __FBSDID("$FreeBSD$");
*/
#include "opt_global.h"
#include <sys/inflate.h>
#include <machine/elf.h>
#include <machine/cpufunc.h>
#include <machine/stdarg.h>
#ifndef KERNNAME
#error Kernel name not provided
#endif