From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4Lbr-0003VB-WE for ltp-list@lists.sourceforge.net; Wed, 31 Jul 2013 01:53:52 +0000 Received: from [222.73.24.84] (helo=song.cn.fujitsu.com) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1V4Lbq-0006nP-Ag for ltp-list@lists.sourceforge.net; Wed, 31 Jul 2013 01:53:51 +0000 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id r6V1rhb2017675 for ; Wed, 31 Jul 2013 09:53:43 +0800 Message-ID: <51F86DD4.7050105@cn.fujitsu.com> Date: Wed, 31 Jul 2013 09:52:20 +0800 From: DAN LI MIME-Version: 1.0 Subject: [LTP] [PATCH v2] mount/mount06.c: fix a compile error List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: LTP list The definitions of MS_PRIVATE and MS_MOVE were only added to glibc headers in version 2.12. If there are no definitions of these two flags, make it. Signed-off-by: DAN LI --- testcases/kernel/syscalls/mount/mount06.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/testcases/kernel/syscalls/mount/mount06.c b/testcases/kernel/syscalls/mount/mount06.c index acfb22d..fff6483 100644 --- a/testcases/kernel/syscalls/mount/mount06.c +++ b/testcases/kernel/syscalls/mount/mount06.c @@ -31,6 +31,14 @@ #include "usctest.h" #include "safe_macros.h" +#ifndef MS_MOVE +#define MS_MOVE 8192 +#endif + +#ifndef MS_PRIVATE +#define MS_PRIVATE (1 << 18) +#endif + #define MNTPOINT_SRC "mnt_src" #define MNTPOINT_DES "mnt_des" #define LINELENGTH 256 -- 1.8.1 ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list