diff options
author | Peter Wemm <peter@FreeBSD.org> | 2002-08-22 20:39:30 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2002-08-22 20:39:30 +0000 |
commit | f99803876e40a56cec2cdb2ff09f419283130d15 (patch) | |
tree | 7f88fbe2cee0073b7d42d68a0ca804db20dbfd1b | |
parent | df10150138c502d9da2e731a99ea866a0f4bb87b (diff) | |
download | src-f99803876e40a56cec2cdb2ff09f419283130d15.tar.gz src-f99803876e40a56cec2cdb2ff09f419283130d15.zip |
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.
Notes
Notes:
svn path=/head/; revision=102288
-rw-r--r-- | sys/kern/link_elf.c | 4 | ||||
-rw-r--r-- | sys/kern/link_elf_obj.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c index e9c1516e19e9..ae0842f9cb98 100644 --- a/sys/kern/link_elf.c +++ b/sys/kern/link_elf.c @@ -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" diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index e9c1516e19e9..ae0842f9cb98 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -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" |