To make POSIX namespace clear, glibc-2.8 requires people to define
_GNU_SOURCE when they use Advanced Socket APIs.

Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED]>
---
 testcases/network/lib6/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testcases/network/lib6/Makefile b/testcases/network/lib6/Makefile
index 6bc86b8..e3731e6 100644
--- a/testcases/network/lib6/Makefile
+++ b/testcases/network/lib6/Makefile
@@ -20,7 +20,7 @@
 # name of file : Makefile                                                #
 # description  : make(1) description file for lib6 tests.                #
 ###########################################################################
-CFLAGS+=       -I../../../include -g
+CFLAGS+=       -I../../../include -g -D_GNU_SOURCE
 LOADLIBES+=    -L../../../lib runcc.a -lltp -lpthread
 
 SRCS=$(wildcard *.c)
-- 
1.5.4.5


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to