--- libnfc/buses/spi.c.orig	2015-09-02 23:53:39.609374047 +0200
+++ libnfc/buses/spi.c	2015-09-02 23:53:44.994373644 +0200
@@ -51,6 +51,7 @@
 #include <stdio.h>
 #include <termios.h>
 #include <unistd.h>
+#include <asm/ioctl.h>
 
 #include <nfc/nfc.h>
 #include "nfc-internal.h"
