--- zzzz-none-000/linux-4.9.276/tools/testing/selftests/ptp/testptp.c 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/tools/testing/selftests/ptp/testptp.c 2023-04-05 08:19:03.000000000 +0000 @@ -48,6 +48,7 @@ #define CLOCK_INVALID -1 #endif +#if defined(__GLIBC__) && defined(__GLIBC_PREREQ) /* clock_adjtime is not available in GLIBC < 2.14 */ #if !__GLIBC_PREREQ(2, 14) #include @@ -56,6 +57,7 @@ return syscall(__NR_clock_adjtime, id, tx); } #endif +#endif static clockid_t get_clockid(int fd) {