summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorRobert Schuster <theBohemian@gmx.net>2007-09-12 19:09:51 +0000
committerRobert Schuster <theBohemian@gmx.net>2007-09-12 19:09:51 +0000
commita35579be283913d17fcb164e2c9e42357fb4982f (patch)
tree1d603df6f1f5bca8e6c0b31a86e4a28f23be686f /native
parent4ec5b1f697e4d03086f81e860f7a1de5d9cdbc68 (diff)
downloadclasspath-a35579be283913d17fcb164e2c9e42357fb4982f.tar.gz
2007-09-12 Robert Schuster <robertschuster@fsfe.org>
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c: Add #ifndef guard around definition of _GNU_SOURCE.
Diffstat (limited to 'native')
-rw-r--r--native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c b/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
index f2b2f8e63..288653d51 100644
--- a/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
+++ b/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
@@ -35,8 +35,9 @@ this exception to your version of the library, but you are not
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"