diff options
Diffstat (limited to 'tools/iio')
-rw-r--r-- | tools/iio/Makefile | 2 | ||||
-rw-r--r-- | tools/iio/generic_buffer.c | 2 | ||||
-rw-r--r-- | tools/iio/iio_event_monitor.c | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/tools/iio/Makefile b/tools/iio/Makefile index 83813ad379f9..bf7ae6d6612a 100644 --- a/tools/iio/Makefile +++ b/tools/iio/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Wall -g +CFLAGS = -Wall -g -D_GNU_SOURCE all: iio_event_monitor lsiio generic_buffer diff --git a/tools/iio/generic_buffer.c b/tools/iio/generic_buffer.c index 01266c2556da..8f8f058eb807 100644 --- a/tools/iio/generic_buffer.c +++ b/tools/iio/generic_buffer.c @@ -18,8 +18,6 @@ * */ -#define _GNU_SOURCE - #include <unistd.h> #include <stdlib.h> #include <dirent.h> diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c index f19cff19900e..427c271ac0d6 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -16,8 +16,6 @@ * */ -#define _GNU_SOURCE - #include <unistd.h> #include <stdlib.h> #include <stdbool.h> |