From: Mathieu Desnoyers Date: Tue, 6 Mar 2012 22:55:28 +0000 (-0500) Subject: Fix: add missing _GNU_SOURCE define to babeltrace-log.c X-Git-Tag: v1.0.0-pre4~18 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=c696b1b1dc97d27cd13ec67d65944649818b0048;hp=5533628f4a08485c489797c6060736b11953c869;p=babeltrace.git Fix: add missing _GNU_SOURCE define to babeltrace-log.c Since it is using getline. Signed-off-by: Mathieu Desnoyers --- diff --git a/converter/babeltrace-log.c b/converter/babeltrace-log.c index d3470774..6ac94e69 100644 --- a/converter/babeltrace-log.c +++ b/converter/babeltrace-log.c @@ -20,6 +20,7 @@ * Depends on glibc 2.10 for getline(). */ +#define _GNU_SOURCE #include #include #include