mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
Merge pull request #495 from PiotrBzdrega/master
missing FUTEX_CLOCK_REALTIME declaration when build with flags -DINTERCEPT_SYSCALL -DINTERCEPT_FUTEX
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user