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