summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2015-10-19 14:44:43 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-24 11:02:00 -0700
commit78662f08979a031ca3de5a1a29e133bf671bc177 (patch)
treebbfd6081a6d8fdd1c5ebdab50f7081fc8e28fd67
parent3e38084ad2aa64dbd0c2c607556aae076ffe2e7f (diff)
downloadandroid_external_elfutils-staging/cm-14.1-cafrebase.tar.gz
android_external_elfutils-staging/cm-14.1-cafrebase.tar.bz2
android_external_elfutils-staging/cm-14.1-cafrebase.zip
libelf: Only include features.h on linux.staging/cm-14.1-cafrebasecm-14.1_prerebasecm-14.1cm-14.0
Change-Id: I5429f63166f8e7da6b2099157fefc3f590d97719
-rw-r--r--libelf/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libelf/elf.h b/libelf/elf.h
index 12feb915..9e9ffdc2 100644
--- a/libelf/elf.h
+++ b/libelf/elf.h
@@ -19,7 +19,9 @@
#ifndef _ELF_H
#define _ELF_H 1
+#ifdef __linux__
#include <features.h>
+#endif
__BEGIN_DECLS