summaryrefslogtreecommitdiff
path: root/runtime/elf_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/elf_utils.h')
-rw-r--r--runtime/elf_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/elf_utils.h b/runtime/elf_utils.h
index f160dc4b2c..ce8587b889 100644
--- a/runtime/elf_utils.h
+++ b/runtime/elf_utils.h
@@ -17,6 +17,8 @@
#ifndef ART_RUNTIME_ELF_UTILS_H_
#define ART_RUNTIME_ELF_UTILS_H_
+#include <sys/cdefs.h>
+
// Explicitly include elf.h from elfutils to avoid Linux and other dependencies.
#include "../../external/elfutils/0.153/libelf/elf.h"