aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-11 05:04:19 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-11 05:04:19 +0000
commitd113af12f26a2fe2da03fa68db14b70eddd7f8d5 (patch)
tree9c889c7e32c0d3bb1a44b26bf0394c46926e23cb
parentf719a1b69ad01481944be09dbc8c2038f7376953 (diff)
parentb748b53013964743132f5296d7f21377af939383 (diff)
downloadkmod-d113af12f26a2fe2da03fa68db14b70eddd7f8d5.tar.gz
Change-Id: I9fe3c1d5ebeb9f10f73dd24f3e3ffe634e2cc062
-rw-r--r--Android.bp2
-rw-r--r--port-gnu/elf.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 466f34c..4854a76 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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