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(-)

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 <sys/types.h>
 #include <sys/stat.h>
-- 
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

Reply via email to