summaryrefslogtreecommitdiff
path: root/sysutils/isapnptools/patches/patch-ab
blob: 4e2cc1368c56c890757ac600979a123e5091b6b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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) */
 
 /****************************************************************************/