]> arthur.barton.de Git - netatalk.git/commitdiff
Don't define feature macros on platforms where it cut's off features.
authorFrank Lahm <franklahm@googlemail.com>
Thu, 18 Aug 2011 12:12:52 +0000 (14:12 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Thu, 18 Aug 2011 12:12:52 +0000 (14:12 +0200)
Fixes #3380785.

libatalk/util/socket.c

index f74af5225669d908f2f3d0e95c658463423a100e..c80a023d76225fddc6e69fbce5bfe803e1f57007 100644 (file)
@@ -21,7 +21,7 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
-#if !defined(__FreeBSD__)
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
 # ifndef _XOPEN_SOURCE
 #  define _XOPEN_SOURCE 600
 # endif