changeset 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 e93d0faac02b
children 7575f4b17b48
files libdha/sysdep/pci_freebsd.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
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