]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
fgetln: getline may need _GNU_SOURCE
authorVincent Bernat <bernat@luffy.cx>
Sat, 20 Apr 2013 00:53:50 +0000 (02:53 +0200)
committerVincent Bernat <bernat@luffy.cx>
Sat, 20 Apr 2013 00:53:50 +0000 (02:53 +0200)
src/compat/fgetln.c

index ea8da6ac49b1d9f1a266764e9f9fc7569919b57e..45e63f49b09553884038cfe82b0150e46cae9b33 100644 (file)
@@ -25,6 +25,7 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <sys/cdefs.h>
 #include <sys/types.h>