mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54646
@ -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