diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-05-20 07:56:40 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-05-20 07:56:40 +0000 |
| commit | 8aa98dece2f9747a45a06473af2c1bccba894850 (patch) | |
| tree | 80de175a4a494cff59f1ba47804491759f7c0092 /usr.bin | |
| parent | 178897f127fb713d617f86606b5015761900c212 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/elf2aout/elf2aout.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/usr.bin/elf2aout/elf2aout.c b/usr.bin/elf2aout/elf2aout.c index a03968fdbd818..918c6e0f285d6 100644 --- a/usr.bin/elf2aout/elf2aout.c +++ b/usr.bin/elf2aout/elf2aout.c @@ -28,6 +28,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> +#include <sys/endian.h> #include <sys/elf64.h> #include <sys/endian.h> #include <sys/mman.h> @@ -37,14 +38,14 @@ __FBSDID("$FreeBSD$"); #include <fcntl.h> struct exec { - u_int a_magic; - u_int a_text; - u_int a_data; - u_int a_bss; - u_int a_syms; - u_int a_entry; - u_int a_trsize; - u_int a_drsize; + u_int32_t a_magic; + u_int32_t a_text; + u_int32_t a_data; + u_int32_t a_bss; + u_int32_t a_syms; + u_int32_t a_entry; + u_int32_t a_trsize; + u_int32_t a_drsize; }; #define A_MAGIC 0x01030107 |
