[LTP] [COMMITTED] [PATCH 9/9] syscalls/splice{04, 05}: Include lapi/splice.h

Cyril Hrubis chrubis@suse.cz
Thu Aug 3 15:52:33 CEST 2017


Fixes compilation on older distros.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 testcases/kernel/syscalls/splice/splice04.c | 1 +
 testcases/kernel/syscalls/splice/splice05.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/testcases/kernel/syscalls/splice/splice04.c b/testcases/kernel/syscalls/splice/splice04.c
index dbdc1048f..852dd0569 100644
--- a/testcases/kernel/syscalls/splice/splice04.c
+++ b/testcases/kernel/syscalls/splice/splice04.c
@@ -27,6 +27,7 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include "tst_test.h"
+#include "lapi/splice.h"
 #include "splice.h"
 
 #define PIPE_MAX (64*1024)
diff --git a/testcases/kernel/syscalls/splice/splice05.c b/testcases/kernel/syscalls/splice/splice05.c
index 4cd1c5f6a..b8ee49cfd 100644
--- a/testcases/kernel/syscalls/splice/splice05.c
+++ b/testcases/kernel/syscalls/splice/splice05.c
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include "tst_test.h"
+#include "lapi/splice.h"
 #include "splice.h"
 
 #define PIPE_MAX (64*1024)
-- 
2.13.0



More information about the ltp mailing list