$NetBSD: patch-ac,v 1.1 2002/10/02 22:08:43 dillo Exp $ --- configure.orig Thu Oct 3 00:01:46 2002 +++ configure @@ -6612,10 +6612,17 @@ EOF cat >>confdefs.h <<\EOF #define _POSIX_C_SOURCE 199506L EOF - +case $host_vendor-$host_os in +*netbsd*) +cat >>confdefs.h <<\EOF +#define _XOPEN_SOURCE 520 +EOF +;; +*) cat >>confdefs.h <<\EOF #define _XOPEN_SOURCE 500 EOF +esac fi