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:
parent
b506848ab8
commit
9606eecff6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user