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:
parent
57778cfec4
commit
2e2f21556e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user