Instead of grabbing the userland a.out.h/link.h (or worse, from

/usr/include!), use sys/nlist_aout.h, machine/reloc.h, sys/imgact_aout.h
and sys/link_aout.h.
This commit is contained in:
Peter Wemm 2002-08-22 20:43:07 +00:00
parent f99803876e
commit 3e4517beb6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102289

View File

@ -29,6 +29,7 @@
#ifdef __i386__
#define FREEBSD_AOUT 1
#define _AOUT_INCLUDE_ 1
#include <sys/param.h>
#include <sys/kernel.h>
@ -37,9 +38,10 @@
#include <sys/proc.h>
#include <sys/namei.h>
#include <sys/fcntl.h>
#include <sys/imgact_aout.h>
#include <sys/vnode.h>
#include <sys/linker.h>
#include <machine/reloc.h>
#include "linker_if.h"
@ -49,8 +51,8 @@
#include <machine/vmparam.h>
#endif
#include <a.out.h>
#include <link.h>
#include <sys/nlist_aout.h>
#include <sys/link_aout.h>
typedef struct aout_file {
struct linker_file lf; /* Common fields */