diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/elf2aout/elf2aout.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/elf2aout/elf2aout.c b/usr.bin/elf2aout/elf2aout.c index 71df171..a03968f 100644 --- a/usr.bin/elf2aout/elf2aout.c +++ b/usr.bin/elf2aout/elf2aout.c @@ -29,17 +29,13 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/elf64.h> +#include <sys/endian.h> #include <sys/mman.h> #include <sys/stat.h> #include <err.h> #include <fcntl.h> -#define be16toh(x) (x) -#define be32toh(x) (x) -#define be64toh(x) (x) -#define htobe32(x) (x) - struct exec { u_int a_magic; u_int a_text; |