Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/tst_clocks.c b/lib/tst_clocks.c
- index 7b465b1f62d6..13d2f31953dd 100644
- --- a/lib/tst_clocks.c
- +++ b/lib/tst_clocks.c
- @@ -11,12 +11,14 @@
- #include "tst_clocks.h"
- #include "lapi/syscalls.h"
- #include "lapi/posix_clocks.h"
- +#include "tst_sig_proc.h"
- typedef int (*mysyscall)(clockid_t clk_id, void *ts);
- int syscall_supported_by_kernel(long sysnr)
- {
- int ret;
- + create_sig_proc(0, 0, 0);
- ret = syscall(sysnr, 0, NULL);
- if (ret == -1 && errno == ENOSYS)
Add Comment
Please, Sign In to add comment