summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdha/sysdep/pci_freebsd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libdha/sysdep/pci_freebsd.c b/libdha/sysdep/pci_freebsd.c
index dd93d90d68..9ad4b15f2b 100644
--- a/libdha/sysdep/pci_freebsd.c
+++ b/libdha/sysdep/pci_freebsd.c
@@ -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