From b7966b7e16cedeee5752a6a5de7faec408d2e962 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 30 Dec 2002 09:58:20 +0000 Subject: Use the offical sys/endian.h rather than reaching way over into another binary's directory to use a private header. --- usr.bin/elf2aout/Makefile | 1 - usr.bin/elf2aout/elf2aout.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/elf2aout/Makefile b/usr.bin/elf2aout/Makefile index f64004e..24f73f8 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 diff --git a/usr.bin/elf2aout/elf2aout.c b/usr.bin/elf2aout/elf2aout.c index a9e1a01..3abf818 100644 --- a/usr.bin/elf2aout/elf2aout.c +++ b/usr.bin/elf2aout/elf2aout.c @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include @@ -37,7 +38,6 @@ __FBSDID("$FreeBSD$"); #include #include -#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)) -- cgit v1.1