changeset 5944:1faf2566907b

Fix build on FreeBSD 5.0 or later, should be downward compatible (verified on FreeBSD 4.5 at sf compilefamr.
author atmos4
date Fri, 03 May 2002 12:56:29 +0000
parents 470d830cb9d9
children f9fe22a52e80
files libdha/sysdep/pci_freebsd.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/sysdep/pci_freebsd.c	Fri May 03 09:43:36 2002 +0000
+++ b/libdha/sysdep/pci_freebsd.c	Fri May 03 12:56:29 2002 +0000
@@ -5,7 +5,10 @@
 */
 #include <errno.h>
 #include <sys/file.h>
-#include <machine/console.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>
 #ifndef GCCUSESGAS
 #define GCCUSESGAS
 #endif