diff options
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | port-gnu/elf.h | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -57,7 +57,7 @@ cc_defaults { "-UNDEBUG", ], target: { - linux_glibc: { + glibc: { cflags: ["-DHAVE_DECL_STRNDUPA"] } } diff --git a/port-gnu/elf.h b/port-gnu/elf.h index 30c42d8..6aae290 100644 --- a/port-gnu/elf.h +++ b/port-gnu/elf.h @@ -19,6 +19,7 @@ #ifndef _ELF_H #define _ELF_H 1 +#include <sys/cdefs.h> __BEGIN_DECLS |