summaryrefslogtreecommitdiffstats
path: root/sys/kern/link_elf.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-08-22 20:39:30 +0000
committerpeter <peter@FreeBSD.org>2002-08-22 20:39:30 +0000
commit7c1b707024a4335fa2db449b7c03bae6c3439126 (patch)
tree7f88fbe2cee0073b7d42d68a0ca804db20dbfd1b /sys/kern/link_elf.c
parentc465eaa584b62c464cfe267b9c2ffe89a24650b7 (diff)
downloadFreeBSD-src-7c1b707024a4335fa2db449b7c03bae6c3439126.zip
FreeBSD-src-7c1b707024a4335fa2db449b7c03bae6c3439126.tar.gz
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.
Diffstat (limited to 'sys/kern/link_elf.c')
-rw-r--r--sys/kern/link_elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c
index e9c1516..ae0842f 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"
OpenPOWER on IntegriCloud