missing FUTEX_CLOCK_REALTIME declaration when build with flags -DINTERCEPT_SYSCALL -DINTERCEPT_FUTEX

This commit is contained in:
PiotrBzdrega
2025-05-13 15:01:47 +02:00
committed by GitHub
parent 2e2d3eefb5
commit 2dca058f5c

View File

@@ -59,6 +59,9 @@
#ifdef __linux__
#include <stdarg.h>
#include <sys/syscall.h>
#ifdef INTERCEPT_FUTEX
#include <linux/futex.h>
#endif
#else
#error INTERCEPT_SYSCALL should only be defined on GNU/Linux systems.
#endif