open11.c: Define _GNU_SOURCE which is required for O_DIRECTORY
PATCH 1/1 open11.c: Define _GNU_SOURCE which is required for O_DIRECTORY
From: Markos Chandras <[email protected]>
O_DIRECTORY is only available if _GNU_SOURCE is defined in uClibc toolchains:
Signed-off-by Markos Chandras <[email protected]>
--- testcases/kernel/syscalls/open/open11.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
testcases/kernel/syscalls/open/open11.c +1 -0
@@ -59,6 +59,7 @@* but should not oops or hang */ +#define _GNU_SOURCE#include "config.h" #include <sys/types.h> #include <sys/stat.h>
Signature · 13 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 2 lines
O_DIRECTORYis only available if_GNU_SOURCEis defined in uClibc toolchains:
Looks like I've been too hasty with ifdefing it out.
Commited thanks.
Signature · 12 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list