Skip to content

Commit 3e56ada

Browse files
authored
Merge pull request #495 from PiotrBzdrega/master
missing FUTEX_CLOCK_REALTIME declaration when build with flags -DINTERCEPT_SYSCALL -DINTERCEPT_FUTEX
2 parents 2e2d3ee + 2dca058 commit 3e56ada

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libfaketime.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
#ifdef __linux__
6060
#include <stdarg.h>
6161
#include <sys/syscall.h>
62+
#ifdef INTERCEPT_FUTEX
63+
#include <linux/futex.h>
64+
#endif
6265
#else
6366
#error INTERCEPT_SYSCALL should only be defined on GNU/Linux systems.
6467
#endif

0 commit comments

Comments
 (0)