diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-05-02 23:56:21 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-05-02 23:56:21 +0000 |
commit | 5e6220d9d0ed9bc47d825655629563debeb4c790 (patch) | |
tree | ea44581323d4d5406c62189361371b4f8e3c1db4 /usr.bin/ldd | |
parent | 1eb55ff65dd85e929f20bc5c4f11d71d76096b92 (diff) | |
download | src-5e6220d9d0ed9bc47d825655629563debeb4c790.tar.gz src-5e6220d9d0ed9bc47d825655629563debeb4c790.zip |
* 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.
Notes
Notes:
svn path=/head/; revision=76224
Diffstat (limited to 'usr.bin/ldd')
-rw-r--r-- | usr.bin/ldd/ldd.c | 2 | ||||
-rw-r--r-- | usr.bin/ldd/sods.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c index cf9ebde6fc35..0f82b89af9d5 100644 --- a/usr.bin/ldd/ldd.c +++ b/usr.bin/ldd/ldd.c @@ -34,8 +34,8 @@ static const char rcsid[] = #endif /* not lint */ #include <sys/wait.h> +#include <machine/elf.h> #include <a.out.h> -#include <elf.h> #include <err.h> #include <fcntl.h> #include <stdio.h> diff --git a/usr.bin/ldd/sods.c b/usr.bin/ldd/sods.c index 69176162c868..9b150ec5a9ff 100644 --- a/usr.bin/ldd/sods.c +++ b/usr.bin/ldd/sods.c @@ -38,11 +38,11 @@ static const char rcsid[] = #include <sys/mman.h> #include <sys/stat.h> +#include <machine/elf.h> #define FREEBSD_AOUT #include <a.out.h> -#include <elf.h> #include <link.h> #include <stab.h> |