summaryrefslogtreecommitdiff
path: root/sysutils/isapnptools/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/isapnptools/patches/patch-ab')
-rw-r--r--sysutils/isapnptools/patches/patch-ab24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/isapnptools/patches/patch-ab b/sysutils/isapnptools/patches/patch-ab
new file mode 100644
index 00000000000..4e2cc1368c5
--- /dev/null
+++ b/sysutils/isapnptools/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/23 12:07:45 agc Exp $
+--- include/isapnp/iopl.h Tue May 8 15:14:21 2001
++++ include/isapnp/iopl.h Mon Jul 22 07:40:38 2002
+@@ -45,6 +45,12 @@
+ #endif
+
+ /****************************************************************************/
++#if defined(__NetBSD__) && defined(HAVE_LIBI386)
++#include <sys/types.h>
++#include <machine/bus.h>
++#include <machine/sysarch.h>
++#include <machine/pio.h>
++#else
+ #ifdef __DJGPP__
+ #if !defined __TURBOC__ && !defined __BORLANDC__
+ #include <inlines/pc.h>
+@@ -65,6 +71,7 @@
+ #include <sys/hw.h>
+ #endif /* _OS2_ */
+ #endif
++#endif /* !(__NetBSD__ && HAVE_LIBI386) */
+
+ /****************************************************************************/
+