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
1 changed files with 1 additions and 1 deletions

View File

@ -34,13 +34,13 @@ static const char rcsid[] =
#endif /* not lint */ #endif /* not lint */
#include <sys/types.h> #include <sys/types.h>
#include <sys/elf64.h>
#include <err.h> #include <err.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <elf.h>
#define ALPHA_FMAGIC 0x184 #define ALPHA_FMAGIC 0x184