aboutsummaryrefslogtreecommitdiff
path: root/tests/test_speed.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-05-22 13:42:38 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-05-22 13:42:38 +0000
commit1e2f270469c61337ef7f5f92ab93f691e5d86492 (patch)
tree92f1d8dc1abac73131ddeaa9867d4ef3d36ab1da /tests/test_speed.c
parent76f58d4432898b68da2a65237ed6089d0ef90653 (diff)
libucl: Update to 0.9.2vendor/libucl/0.9.2vendor/libucl
Approved by: bapt Differential Revision: https://reviews.freebsd.org/D50363
Diffstat (limited to 'tests/test_speed.c')
-rw-r--r--tests/test_speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_speed.c b/tests/test_speed.c
index 56f2e5abc6c7..51476c94940b 100644
--- a/tests/test_speed.c
+++ b/tests/test_speed.c
@@ -44,7 +44,7 @@ get_ticks (void)
{
double res;
-#ifdef __APPLE__
+#if defined(__APPLE__) && defined(HAVE_MACH_MACH_TIME_H)
res = mach_absolute_time () / 1000000000.;
#else
struct timespec ts;