diff libdha/sysdep/pci_freebsd.c @ 15555:806cd20f1c8f

Use the public sys/kbio.h header instead of messing with the MI headers, which doesn't exist anymore on DragonFly. Approved by the FreeBSD ports maintainer. patch by Joerg Sonnenberger <joerg - at - britannica - bec - de>
author diego
date Mon, 23 May 2005 21:24:47 +0000
parents 1faf2566907b
children
line wrap: on
line diff
--- a/libdha/sysdep/pci_freebsd.c	Mon May 23 20:12:47 2005 +0000
+++ b/libdha/sysdep/pci_freebsd.c	Mon May 23 21:24:47 2005 +0000
@@ -5,10 +5,7 @@
 */
 #include <errno.h>
 #include <sys/file.h>
-/* machine/console.h seems to be outdated by recent FreeBSD *
- * however pcvt_ioctl.h seems to exist for very long time   */
-/* #include <machine/console.h>*/
-#include <machine/pcvt_ioctl.h>
+#include <sys/kbio.h>
 #ifndef GCCUSESGAS
 #define GCCUSESGAS
 #endif