diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2003-03-29 03:03:42 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-03-29 03:03:42 +0000 |
| commit | 2d57da023a21eb036a749560698326939f745a76 (patch) | |
| tree | d940959e4a1f3097c823263734d747f27ade892f /usr.bin | |
| parent | 5fe45f18e716e933665c1594a9da21bc62af2bf9 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/elf2aout/Makefile | 1 | ||||
| -rw-r--r-- | usr.bin/elf2aout/elf2aout.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/elf2aout/Makefile b/usr.bin/elf2aout/Makefile index f64004ed33208..24f73f8353e80 100644 --- a/usr.bin/elf2aout/Makefile +++ b/usr.bin/elf2aout/Makefile @@ -4,6 +4,5 @@ PROG= elf2aout NOMAN= NO_WERROR?= WARNS?= 5 -CFLAGS+= -I${.CURDIR}/../../usr.sbin/crunch/crunchide .include <bsd.prog.mk> diff --git a/usr.bin/elf2aout/elf2aout.c b/usr.bin/elf2aout/elf2aout.c index a9e1a010503b0..3abf8188fcafd 100644 --- a/usr.bin/elf2aout/elf2aout.c +++ b/usr.bin/elf2aout/elf2aout.c @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/elf64.h> +#include <sys/endian.h> #include <sys/mman.h> #include <sys/stat.h> @@ -37,7 +38,6 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <unistd.h> -#include "endian.h" #define xe16toh(x) ((data == ELFDATA2MSB) ? be16toh(x) : le16toh(x)) #define xe32toh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x)) #define xe64toh(x) ((data == ELFDATA2MSB) ? be64toh(x) : le64toh(x)) |
