summaryrefslogtreecommitdiff
path: root/loader.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-07-18 13:10:12 +0400
committermalc <av1474@comtv.ru>2009-07-18 13:16:51 +0400
commit3efa9a672e4a5f7b2d35cf457ea277e997a0f8c6 (patch)
treed3fa4c50d285d96efaa3bf37d081d8d159f5f3bb /loader.c
parentf6548c0a4b751852b9dcb341e3974e049a45a518 (diff)
downloadqemu-3efa9a672e4a5f7b2d35cf457ea277e997a0f8c6.tar.gz
qemu-3efa9a672e4a5f7b2d35cf457ea277e997a0f8c6.tar.bz2
qemu-3efa9a672e4a5f7b2d35cf457ea277e997a0f8c6.zip
Avoid name clashes with symbols that leak from system headers
Signed-off-by: malc <av1474@comtv.ru>
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 54580e4c50..b5c5914c2f 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"