* [LTP] [PATCH] syscalls/ioctl07.c: Fix compilation && Cleanup
@ 2017-10-16 3:31 Xiao Yang
2017-10-16 11:28 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Xiao Yang @ 2017-10-16 3:31 UTC (permalink / raw)
To: ltp
1) Fix compilation error on older kernels(e.g RHEL5.11GA) due to
undefined __u32, as below:
error: expected specifier-qualifier-list before ‘__u32’
error: expected specifier-qualifier-list before ‘__u32’
2) Remove unused tst_safe_stdio.h header file
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
testcases/kernel/syscalls/ioctl/ioctl07.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/ioctl/ioctl07.c b/testcases/kernel/syscalls/ioctl/ioctl07.c
index a159dbc..fb11178 100644
--- a/testcases/kernel/syscalls/ioctl/ioctl07.c
+++ b/testcases/kernel/syscalls/ioctl/ioctl07.c
@@ -22,9 +22,9 @@
*
*/
+#include <asm/types.h>
#include <linux/random.h>
#include <stdlib.h>
-#include "tst_safe_stdio.h"
#include "tst_test.h"
static char *s_fuzz;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-16 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-16 3:31 [LTP] [PATCH] syscalls/ioctl07.c: Fix compilation && Cleanup Xiao Yang
2017-10-16 11:28 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox