Allow elf2exe to be compiled on architectures other than Alpha. This

is trivially accomplished by including sys/elf64.h instead of elf.h.
This commit is contained in:
Marcel Moolenaar 1999-12-15 18:02:33 +00:00
parent b506848ab8
commit 9606eecff6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54646

View File

@ -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