summaryrefslogtreecommitdiff
path: root/graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c
blob: 3c56a56b1a42c89406cc8a867e5b36b59f6a6e9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- sanei/sanei_pa4s2.c.orig	Sun Oct  8 22:58:42 2000
+++ sanei/sanei_pa4s2.c	Wed Feb  7 00:28:27 2001
@@ -89,6 +89,12 @@
 #define IO_SUPPORT_MISSING
 #endif
 
+#if defined(__FreeBSD__) && defined(__i386__)
+#define HAVE_IOPERM
+#define ioperm i386_set_ioperm
+#include <machine/sysarch.h>
+#endif
+
 #include "sane/sane.h"
 #include "sane/sanei.h"
 #include "sane/sanei_pa4s2.h"