From: Hangbin Liu <liuhangbin@gmail.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH] containers/netns: fix header file path for check_netns_enabled.c
Date: Thu, 6 Mar 2014 22:54:00 +0800 [thread overview]
Message-ID: <1394117640-14933-1-git-send-email-liuhangbin@gmail.com> (raw)
CLONE_NEWNET and CLONE_NEWNS are defined in linux/sched.h, not sched.h
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2014-03-06 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 14:54 Hangbin Liu [this message]
2014-03-06 15:05 ` [LTP] [PATCH] containers/netns: fix header file path for check_netns_enabled.c Jan Stancek
-- strict thread matches above, loose matches on Subject: below --
2014-03-06 8:55 Hangbin Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1394117640-14933-1-git-send-email-liuhangbin@gmail.com \
--to=liuhangbin@gmail.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox