--- configure.in 2008-06-16 02:35:50.000000000 +0400 +++ configure.in.new 2008-06-16 02:36:10.000000000 +0400 @@ -28,6 +28,9 @@ AC_CANONICAL_HOST +dnl Define _GNU_SOURCE, this should be done before any feature test. +AC_DEFINE([_GNU_SOURCE], [], [Enabling GNU libc extensions]) + AC_PROG_MAKE_SET AC_PROG_RANLIB AC_PROG_INSTALL --- lib/bind/configure.in.old 2008-06-16 03:29:26.000000000 +0400 +++ lib/bind/configure.in 2008-06-16 03:29:52.000000000 +0400 @@ -22,6 +22,9 @@ AC_CANONICAL_HOST +dnl Define _GNU_SOURCE, this should be done before any feature test. +AC_DEFINE([_GNU_SOURCE], [], [Enabling GNU libc extensions]) + AC_PROG_MAKE_SET AC_PROG_RANLIB AC_PROG_INSTALL --- lib/isc/httpd.c.old 2008-06-16 04:08:44.000000000 +0400 +++ lib/isc/httpd.c 2008-06-16 04:10:56.000000000 +0400 @@ -18,6 +18,8 @@ /*! \file */ +#include + #include #include #include