syscalls/sched_getparam03.c: Fix order of included headers
PATCH 1/1 syscalls/sched_getparam03.c: Fix order of included headers
Compilation failed on RHEL5.11GA and RHEL6.8GA because definition of clone() function in sched.h will be replaced by the test.h defined clone(...) macro.
Signed-off-by Xiao Yang <[email protected]>
--- testcases/kernel/syscalls/sched_getparam/sched_getparam03.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
testcases/kernel/syscalls/sched_getparam/sched_getparam03.c +1 -2
@@ -70,10 +70,9 @@* *********************************************************************/ -#include "test.h" -#include <errno.h> #include <sched.h> +#include "test.h" #define LARGE_PID 999999
Signature · 1 line
1.8.3.1
PATCH 1/1 syscalls/sched_getparam03.c: Fix order of included headers
Hi,
Quoted 2 lines · Xiao Yang
Compilation failed on RHEL5.11GA and RHEL6.8GA because definition of
clone()function insched.hwill be replaced by thetest.hdefined clone(...) macro.
Patch applied, thank you.
Best regards,
Alexey