commit | b748b53013964743132f5296d7f21377af939383 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Sep 15 00:43:26 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Sep 15 00:43:26 2021 +0000 |
tree | 9c889c7e32c0d3bb1a44b26bf0394c46926e23cb | |
parent | 3465ff80c16f6213e38d2962425ea1e5a8e338c1 [diff] | |
parent | 1a0c7d1b8bf8a3378e4a35c49b700a55e3f4d43b [diff] |
Fix external/kmod compiling against musl am: 0126343c9e am: 599867a5fb am: 6ece5e106b am: ec4b598de8 am: 1a0c7d1b8b Original change: https://android-review.googlesource.com/c/platform/external/kmod/+/1826118 Change-Id: I21a6e552eaa9eeaa949399e6cecd34f75e2ffd26
diff --git a/Android.bp b/Android.bp index 466f34c..4854a76 100644 --- a/Android.bp +++ b/Android.bp
@@ -57,7 +57,7 @@ "-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