summaryrefslogtreecommitdiffstats
path: root/usr.sbin/elf2exe
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-12-15 18:02:33 +0000
committermarcel <marcel@FreeBSD.org>1999-12-15 18:02:33 +0000
commit8c2845067b049b930140d4efc82120b3390f1e5d (patch)
treee07b0abdf655778dc4bf8ca88039f6dabf17d80b /usr.sbin/elf2exe
parente2fbb53a7710c5c25da8288f3e449144bad78a4b (diff)
downloadFreeBSD-src-8c2845067b049b930140d4efc82120b3390f1e5d.zip
FreeBSD-src-8c2845067b049b930140d4efc82120b3390f1e5d.tar.gz
Allow elf2exe to be compiled on architectures other than Alpha. This
is trivially accomplished by including sys/elf64.h instead of elf.h.
Diffstat (limited to 'usr.sbin/elf2exe')
-rw-r--r--usr.sbin/elf2exe/elf2exe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/elf2exe/elf2exe.c b/usr.sbin/elf2exe/elf2exe.c
index 7ff1dd4..d874b27 100644
--- a/usr.sbin/elf2exe/elf2exe.c
+++ b/usr.sbin/elf2exe/elf2exe.c
@@ -34,13 +34,13 @@ static const char rcsid[] =
#endif /* not lint */
#include <sys/types.h>
+#include <sys/elf64.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
-#include <elf.h>
#define ALPHA_FMAGIC 0x184
OpenPOWER on IntegriCloud