summaryrefslogtreecommitdiffstats
path: root/src/include/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/elf.h')
-rw-r--r--src/include/elf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/elf.h b/src/include/elf.h
index 606b4192a..a6eb5d9c0 100644
--- a/src/include/elf.h
+++ b/src/include/elf.h
@@ -121,6 +121,7 @@
#define ELFMAG3 'F'
#define ELFMAG "\177ELF"
+#define SELFMAG 4
#define EI_CLASS 4 /* File class byte index */
#define ELFCLASSNONE 0 /* Invalid class */
@@ -141,6 +142,9 @@
#define ELF32_PHDR_SIZE (8*4) /* Size of an elf program header */
#ifndef ASSEMBLY
+
+#include <stdint.h>
+
/*
* ELF definitions common to all 32-bit architectures.
*/
@@ -229,6 +233,4 @@ typedef struct {
#endif /* ASSEMBLY */
-#include "elf_boot.h"
-
#endif /* ELF_H */