From: Ondrej Zajicek Date: Wed, 14 Apr 2010 13:35:08 +0000 (+0200) Subject: Fixes build on newer Linux systems. X-Git-Tag: v1.2.3~20^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=607d991424006c083be63878b6a606e76679e1ce;p=thirdparty%2Fbird.git Fixes build on newer Linux systems. --- diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index c9e6fe136..dc7146f5c 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -7,6 +7,10 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ +/* Unfortunately, some glibc versions hide parts of RFC 3542 API + if _GNU_SOURCE is not defined. */ +#define _GNU_SOURCE 1 + #include #include #include