Instead of nlist.h and link.h, use sys/nlist_aout.h and sys/link_elf.h
This avoids reaching out into userland sources (or worse: /usr/include!) for building the kernel.
This commit is contained in:
parent
df10150138
commit
f99803876e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102288
@ -56,9 +56,9 @@
|
||||
#include <vm/vm_map.h>
|
||||
|
||||
#ifdef __AOUT__
|
||||
#include <nlist.h>
|
||||
#include <sus/nlist_aout.h>
|
||||
#endif
|
||||
#include <link.h>
|
||||
#include <sys/link_elf.h>
|
||||
|
||||
#include "linker_if.h"
|
||||
|
||||
|
@ -56,9 +56,9 @@
|
||||
#include <vm/vm_map.h>
|
||||
|
||||
#ifdef __AOUT__
|
||||
#include <nlist.h>
|
||||
#include <sus/nlist_aout.h>
|
||||
#endif
|
||||
#include <link.h>
|
||||
#include <sys/link_elf.h>
|
||||
|
||||
#include "linker_if.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user