[LTP] [PATCH v2 2/2] input_helper: Fix compilation on CentOS 7

Petr Vorel
2023-10-25T08:27:31Z

Include lapi/uinput.h to fix compilation on CentOS 7
(the oldest distro in our CI). The actual functionality of the test was
not tested.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
testcases/kernel/input/input_helper.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/input/input_helper.c b/testcases/kernel/input/input_helper.c
index 58bb9ee10..c929de6ba 100644
--- a/testcases/kernel/input/input_helper.c
+++ b/testcases/kernel/input/input_helper.c
@@ -25,6 +25,7 @@
#include "test.h"
#include "safe_macros.h"
#include "input_helper.h"
+#include "lapi/uinput.h"

#define VIRTUAL_DEVICE "virtual-device-ltp"