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

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