summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'loader.c')
-rw-r--r--loader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/loader.c b/loader.c
index 54580e4c5..b5c5914c2 100644
--- a/loader.c
+++ b/loader.c
@@ -272,6 +272,9 @@ static void *load_at(int fd, int offset, int size)
return ptr;
}
+#ifdef ELF_CLASS
+#undef ELF_CLASS
+#endif
#define ELF_CLASS ELFCLASS32
#include "elf.h"