Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1U5cFe-0008AA-CZ for ltp-list@lists.sourceforge.net; Wed, 13 Feb 2013 13:19:54 +0000 Received: from multi.imgtec.com ([194.200.65.239]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1U5cFc-0007bn-Df for ltp-list@lists.sourceforge.net; Wed, 13 Feb 2013 13:19:54 +0000 From: Markos Chandras Date: Wed, 13 Feb 2013 13:19:05 +0000 Message-ID: <1360761545-2443-1-git-send-email-markos.chandras@gmail.com> MIME-Version: 1.0 Subject: [LTP] [PATCH] open11.c: Define _GNU_SOURCE which is required for O_DIRECTORY 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@lists.sourceforge.net From: Markos Chandras O_DIRECTORY is only available if _GNU_SOURCE is defined in uClibc toolchains: Signed-off-by: Markos Chandras --- testcases/kernel/syscalls/open/open11.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/testcases/kernel/syscalls/open/open11.c b/testcases/kernel/syscalls/open/open11.c index a042130..8f06948 100644 --- a/testcases/kernel/syscalls/open/open11.c +++ b/testcases/kernel/syscalls/open/open11.c @@ -59,6 +59,7 @@ * but should not oops or hang */ +#define _GNU_SOURCE #include "config.h" #include #include -- 1.7.1 ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list