diff options
author | Roberta Dobrescu <roberta.dobrescu@gmail.com> | 2015-02-26 09:49:26 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-09 18:17:26 +0100 |
commit | 976d9ab112bdef7b25827f576b33068704df78ee (patch) | |
tree | b8f74336d268657db772310d6a6dc433c935db2f /mm/page_alloc.c | |
parent | iio: Move iio userspace applications out of staging (diff) | |
download | linux-976d9ab112bdef7b25827f576b33068704df78ee.tar.xz linux-976d9ab112bdef7b25827f576b33068704df78ee.zip |
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 <roberta.dobrescu@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions