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:
Peter Wemm 2002-08-22 20:39:30 +00:00
parent df10150138
commit f99803876e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102288
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"