aboutsummaryrefslogtreecommitdiffstats
path: root/elff/elf_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'elff/elf_alloc.h')
-rw-r--r--elff/elf_alloc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/elff/elf_alloc.h b/elff/elf_alloc.h
index 648a1e9..bf3103b 100644
--- a/elff/elf_alloc.h
+++ b/elff/elf_alloc.h
@@ -18,9 +18,7 @@
#ifndef ELFF_ELF_ALLOC_H_
#define ELFF_ELF_ALLOC_H_
-extern "C" {
-#include "qemu-common.h"
-}
+#include <stdint.h>
#include "elff-common.h"
class ElfFile;
@@ -157,4 +155,7 @@ class DwarfAllocBase {
}
};
+extern "C" void* elff_alloc(size_t size);
+extern "C" void elff_free(void* ptr);
+
#endif // ELFF_ELF_ALLOC_H_