summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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