From: Roberta Dobrescu Date: Thu, 26 Feb 2015 08:49:26 +0000 (+0200) Subject: tools: iio: Define _GNU_SOURCE in Makefile X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~102^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976d9ab112bdef7b25827f576b33068704df78ee;p=pandora-kernel.git tools: iio: Define _GNU_SOURCE in Makefile Definition of _GNU_SOURCE is needed to get rid of some warnings, such as: warning: implicit declaration of function `asprintf'. generic_buffer.c and iio_event_monitor.c define _GNU_SOURCE, but it is also needed in lsiio.c and iio_utils.c. For this reason, this patch adds the definition in Makefile and removes it from where it already exists. Signed-off-by: Roberta Dobrescu Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed