summaryrefslogtreecommitdiffstats
path: root/libs/libnfc/patches/fix-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libnfc/patches/fix-musl.patch')
-rw-r--r--libs/libnfc/patches/fix-musl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/libnfc/patches/fix-musl.patch b/libs/libnfc/patches/fix-musl.patch
new file mode 100644
index 0000000000..6d5858d7ca
--- /dev/null
+++ b/libs/libnfc/patches/fix-musl.patch
@@ -0,0 +1,12 @@
+Origin: Void Linux
+
+--- a/libnfc/buses/spi.c 2015-09-02 23:53:39.609374047 +0200
++++ b/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"