summaryrefslogtreecommitdiffstats
path: root/tools/spi
diff options
context:
space:
mode:
Diffstat (limited to 'tools/spi')
-rw-r--r--tools/spi/spidev_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/spi/spidev_test.c b/tools/spi/spidev_test.c
index 8a73d8185316..1eaa4de6605b 100644
--- a/tools/spi/spidev_test.c
+++ b/tools/spi/spidev_test.c
@@ -19,6 +19,7 @@
#include <getopt.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#include <linux/ioctl.h>
#include <sys/stat.h>
#include <linux/types.h>
#include <linux/spi/spidev.h>