summaryrefslogtreecommitdiffstats
path: root/runtime/elf_utils.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-06-11 14:22:02 -0700
committerBrian Carlstrom <bdc@google.com>2014-06-11 15:02:00 -0700
commit8758c64a40e74ebb492a348556ec7b25a89c1491 (patch)
tree1726bb15eb1099ee6e58543862cac758e31b18d5 /runtime/elf_utils.h
parentb12f34742be4adaa804cc0d388ba51603bb95955 (diff)
downloadart-8758c64a40e74ebb492a348556ec7b25a89c1491.zip
art-8758c64a40e74ebb492a348556ec7b25a89c1491.tar.gz
art-8758c64a40e74ebb492a348556ec7b25a89c1491.tar.bz2
Fix build by converting from bionic to elfutils version of elf.h
Change-Id: I70a3b6fedae6d290a4f01d4ae8fdd726b8aaa90f
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 f160dc4..ce8587b 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"