[COMMITTED] syscalls/clock_settime02: Fix build.
diff mbox series

Message ID 20190130151355.25041-1-chrubis@suse.cz
State Accepted
Delegated to: Petr Vorel
Headers show
Series
  • [COMMITTED] syscalls/clock_settime02: Fix build.
Related show

Commit Message

Cyril Hrubis Jan. 30, 2019, 3:13 p.m. UTC
Include lapi/posix_clocks.h in order to fix compilation on older
distributions.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 testcases/kernel/syscalls/clock_settime/clock_settime02.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/testcases/kernel/syscalls/clock_settime/clock_settime02.c b/testcases/kernel/syscalls/clock_settime/clock_settime02.c
index 8db417b6b..a6df4940a 100644
--- a/testcases/kernel/syscalls/clock_settime/clock_settime02.c
+++ b/testcases/kernel/syscalls/clock_settime/clock_settime02.c
@@ -11,6 +11,7 @@ 
 #include "config.h"
 #include "tst_test.h"
 #include "lapi/syscalls.h"
+#include "lapi/posix_clocks.h"
 #include "tst_timer.h"
 #include "tst_safe_clocks.h"