Bionic does not provide pthread_cancel(). Copy bionic-compat.h from previous fork of kselftests to here to solve the issue. Link: https://android.googlesource.com/platform/external/linux-kselftest/+/refs/heads/main/android/include/bionic-compat.h Bug: 369330443 Change-Id: Ifa1b5cbe55d6e8ab007787d94e31902ed8dfc37c Signed-off-by: HONG Yifan <elsk@google.com> Signed-off-by: Edward Liaw <edliaw@google.com>