Return to isexec.c CVS log | Up to [local] / src / usr.bin / rdist |
version 1.4, 1998/06/26 21:21:12 | version 1.5, 2002/05/09 19:13:02 | ||
---|---|---|---|
|
|
||
/* | /* | ||
* Elf | * Elf | ||
*/ | */ | ||
#include <elf.h> | #include <elf_abi.h> | ||
#define ISELF(h) (h.e_type == ET_EXEC) | #define ISELF(h) (h.e_type == ET_EXEC) | ||
#endif /* EXE_ELF_AND_COFF || EXE_ELF */ | #endif /* EXE_ELF_AND_COFF || EXE_ELF */ | ||
|
|
||
/* | /* | ||
* Elf | * Elf | ||
*/ | */ | ||
#include <elf.h> | |||
typedef Elf32_Ehdr hdr_t; | typedef Elf32_Ehdr hdr_t; | ||
#endif /* EXE_TYPE == EXE_ELF */ | #endif /* EXE_TYPE == EXE_ELF */ | ||