CLONE_NEWNET and CLONE_NEWNS are defined in linux/sched.h, not sched.h

Signed-off-by: Hangbin Liu <[email protected]>
---
 testcases/kernel/containers/netns/check_netns_enabled.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/containers/netns/check_netns_enabled.c 
b/testcases/kernel/containers/netns/check_netns_enabled.c
index ab8ee2f..7bb2324 100644
--- a/testcases/kernel/containers/netns/check_netns_enabled.c
+++ b/testcases/kernel/containers/netns/check_netns_enabled.c
@@ -20,7 +20,7 @@
 * when trying to use CLONE_NEWNET and CLONE_NEWNS.
 ***************************************************************************/
 #include <stdio.h>
-#include <sched.h>
+#include <linux/sched.h>
 #include "config.h"
 #include "libclone.h"
 #include "linux_syscall_numbers.h"
-- 
1.8.1.4


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to