From 2dca058f5c9ca1658c1242828d4acca56e1824b5 Mon Sep 17 00:00:00 2001 From: PiotrBzdrega <45517077+PiotrBzdrega@users.noreply.github.com> Date: Tue, 13 May 2025 15:01:47 +0200 Subject: [PATCH] missing FUTEX_CLOCK_REALTIME declaration when build with flags -DINTERCEPT_SYSCALL -DINTERCEPT_FUTEX --- src/libfaketime.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libfaketime.c b/src/libfaketime.c index c86a4cf..9d77bb6 100644 --- a/src/libfaketime.c +++ b/src/libfaketime.c @@ -59,6 +59,9 @@ #ifdef __linux__ #include #include +#ifdef INTERCEPT_FUTEX +#include +#endif #else #error INTERCEPT_SYSCALL should only be defined on GNU/Linux systems. #endif