summaryrefslogtreecommitdiff
path: root/tools/iio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/iio/Makefile')
-rw-r--r--tools/iio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iio/Makefile b/tools/iio/Makefile
index 5446d625e17d..8f08e03a9a5e 100644
--- a/tools/iio/Makefile
+++ b/tools/iio/Makefile
@@ -1,5 +1,5 @@
CC = $(CROSS_COMPILE)gcc
-CFLAGS += -Wall -g -D_GNU_SOURCE
+CFLAGS += -Wall -g -D_GNU_SOURCE -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
BINDIR=usr/bin
INSTALL_PROGRAM=install -m 755 -p