aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 12:30:27 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 12:30:27 +0000
commit7cdae725418529046ace8b99c6b3003a742024fe (patch)
tree9c889c7e32c0d3bb1a44b26bf0394c46926e23cb
parentdb5ec7b00f4a0e0f5c6202dc5a2afdd673da641a (diff)
parentb748b53013964743132f5296d7f21377af939383 (diff)
downloadkmod-android13-mainline-go-ipsec-release.tar.gz
Snap for 8358640 from b748b53013964743132f5296d7f21377af939383 to mainline-go-ipsec-releaseaml_go_ips_330911000android13-mainline-go-ipsec-release
Change-Id: I4a8682ecdd4e67db5624a2820153f4f3f612cf07
-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