Hi, a C file from the local sockets implementation unconditionally defined _GNU_SOURCE causing trouble in builds where this is already defined.
Thanks go to Dalibor who helped me to track this down. Regards Robert 2007-09-12 Robert Schuster <[EMAIL PROTECTED]> * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c: Add #ifndef guard around definition of _GNU_SOURCE.
Index: native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c =================================================================== RCS file: /sources/classpath/classpath/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,v retrieving revision 1.4 diff -u -r1.4 gnu_java_net_local_LocalSocketImpl.c --- native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c 21 Aug 2006 09:40:13 -0000 1.4 +++ native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c 12 Sep 2007 18:55:03 -0000 @@ -35,8 +35,9 @@ obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ - +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include "config.h"
signature.asc
Description: OpenPGP digital signature