diff --git a/libc/bionic/fdtrack.cpp b/libc/bionic/fdtrack.cpp index 38eb21914..11235129d 100644 --- a/libc/bionic/fdtrack.cpp +++ b/libc/bionic/fdtrack.cpp @@ -28,8 +28,7 @@ #include -#include - +#include #include #include "private/bionic_fdtrack.h" diff --git a/libc/libc.map.txt b/libc/libc.map.txt index dddd84c28..2ca4b212d 100644 --- a/libc/libc.map.txt +++ b/libc/libc.map.txt @@ -1484,9 +1484,6 @@ LIBC_R { # introduced=R global: __mempcpy_chk; __tls_get_addr; # arm64 - android_fdtrack_compare_exchange_hook; - android_fdtrack_get_enabled; - android_fdtrack_set_enabled; call_once; cnd_broadcast; cnd_destroy; @@ -1755,6 +1752,9 @@ LIBC_PLATFORM { __system_property_set_filename; __system_property_update; android_fdsan_get_fd_table; + android_fdtrack_compare_exchange_hook; # llndk + android_fdtrack_get_enabled; # llndk + android_fdtrack_set_enabled; # llndk android_net_res_stats_get_info_for_net; android_net_res_stats_aggregate; android_net_res_stats_get_usable_servers; diff --git a/libc/include/android/fdtrack.h b/libc/platform/bionic/fdtrack.h similarity index 100% rename from libc/include/android/fdtrack.h rename to libc/platform/bionic/fdtrack.h diff --git a/libc/private/bionic_fdtrack.h b/libc/private/bionic_fdtrack.h index ddf72491d..174ba1d9b 100644 --- a/libc/private/bionic_fdtrack.h +++ b/libc/private/bionic_fdtrack.h @@ -31,7 +31,7 @@ #include #include -#include +#include "platform/bionic/fdtrack.h" #include "bionic/pthread_internal.h" #include "private/bionic_tls.h" diff --git a/libfdtrack/fdtrack.cpp b/libfdtrack/fdtrack.cpp index 7c4cfbf97..0b9963ff8 100644 --- a/libfdtrack/fdtrack.cpp +++ b/libfdtrack/fdtrack.cpp @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include diff --git a/tests/fdtrack_test.cpp b/tests/fdtrack_test.cpp index a616e6fd5..fca92ce48 100644 --- a/tests/fdtrack_test.cpp +++ b/tests/fdtrack_test.cpp @@ -25,7 +25,7 @@ #include #if defined(__BIONIC__) -#include +#include "platform/bionic/fdtrack.h" #endif #include