commit | 9a4e8c989e3deaae6fe97aed00b87fe139944055 | [log] [tgz] |
---|---|---|
author | Fangrui Song <i@maskray.me> | Wed Feb 17 20:03:16 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 04:06:44 2021 -0800 |
tree | f4400529af50df8e9f781d598f40928fd43eaecc | |
parent | 154a61bdbcab3a5d1408e4151226c46aa956c3f4 [diff] |
[GWP-ASan] Change sys/cdefs.h to features.h sys/cdefs.h is a glibc internal header which is not supposed to be included by applications. (Some libc implementations provide this file for compatibility.) Android features.h includes sys/cdefs.h, so we can include features.h instead. This change makes `ninja gwp_asan` build on musl. GitOrigin-RevId: da59c2e4dc1c7b502cc2098247b2ee38ac297e0c