]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes build on newer Linux systems.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 14 Apr 2010 13:35:08 +0000 (15:35 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 14 Apr 2010 13:35:08 +0000 (15:35 +0200)
sysdep/unix/io.c

index c9e6fe1362672afaab2205819ee24c97b601bdc6..dc7146f5cc0bc5e45c54893b8000c762a8c6708a 100644 (file)
@@ -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 <stdio.h>
 #include <stdlib.h>
 #include <time.h>