summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-02 23:56:21 +0000
committerobrien <obrien@FreeBSD.org>2001-05-02 23:56:21 +0000
commit538e761e025ee84b3b100b7c0eabceaa5b550b49 (patch)
tree212c800046bcfdedaa0f36777e0d9479206e0c43 /usr.bin/gcore
parentd917f606f3edba70f558ca5105b6d31f1d87c910 (diff)
downloadFreeBSD-src-538e761e025ee84b3b100b7c0eabceaa5b550b49.zip
FreeBSD-src-538e761e025ee84b3b100b7c0eabceaa5b550b49.tar.gz
* include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/aoutcore.c2
-rw-r--r--usr.bin/gcore/elfcore.c2
-rw-r--r--usr.bin/gcore/gcore.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/gcore/aoutcore.c b/usr.bin/gcore/aoutcore.c
index b5f6143..65dd35e 100644
--- a/usr.bin/gcore/aoutcore.c
+++ b/usr.bin/gcore/aoutcore.c
@@ -63,11 +63,11 @@ static const char rcsid[] =
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/sysctl.h>
+#include <machine/elf.h>
#include <machine/vmparam.h>
#include <a.out.h>
-#include <elf.h>
#include <err.h>
#include <fcntl.h>
#include <kvm.h>
diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c
index 775fd3b..4cb5f0f 100644
--- a/usr.bin/gcore/elfcore.c
+++ b/usr.bin/gcore/elfcore.c
@@ -29,11 +29,11 @@
#include <sys/param.h>
#include <sys/lock.h>
#include <sys/procfs.h>
+#include <machine/elf.h>
#include <vm/vm_param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#include <elf.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/usr.bin/gcore/gcore.c b/usr.bin/gcore/gcore.c
index b5f6143..65dd35e 100644
--- a/usr.bin/gcore/gcore.c
+++ b/usr.bin/gcore/gcore.c
@@ -63,11 +63,11 @@ static const char rcsid[] =
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/sysctl.h>
+#include <machine/elf.h>
#include <machine/vmparam.h>
#include <a.out.h>
-#include <elf.h>
#include <err.h>
#include <fcntl.h>
#include <kvm.h>
OpenPOWER on IntegriCloud