summaryrefslogtreecommitdiffstats
path: root/system/iscan/patches/iscan-2.30.3_x86-unknown-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/iscan/patches/iscan-2.30.3_x86-unknown-types.patch')
-rw-r--r--system/iscan/patches/iscan-2.30.3_x86-unknown-types.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/iscan/patches/iscan-2.30.3_x86-unknown-types.patch b/system/iscan/patches/iscan-2.30.3_x86-unknown-types.patch
new file mode 100644
index 0000000000..9bb856ff83
--- /dev/null
+++ b/system/iscan/patches/iscan-2.30.3_x86-unknown-types.patch
@@ -0,0 +1,12 @@
+diff -ru a/sanei/sanei_pio.c b/sanei/sanei_pio.c
+--- a/sanei/sanei_pio.c 2019-03-01 10:44:36.723260142 -0600
++++ b/sanei/sanei_pio.c 2019-03-01 10:48:47.660693036 -0600
+@@ -73,6 +73,7 @@
+ #elif HAVE_SYS_HW_H
+ # include <sys/hw.h>
+ #elif defined(__i386__) && defined (__GNUC__)
++#include <sys/types.h>
+
+ static __inline__ void
+ outb (u_char value, u_long port)
+