summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 12:56:29 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 12:56:29 +0000
commit5568a8133ad5cdb906bb2baef065fd605fe395ee (patch)
tree82dacc6e1195fbe4ca11d15c697df6490586c701 /libdha
parentdc545e7b680db5dc6903eba93a09b39689bf8dce (diff)
downloadmpv-5568a8133ad5cdb906bb2baef065fd605fe395ee.tar.bz2
mpv-5568a8133ad5cdb906bb2baef065fd605fe395ee.tar.xz
Fix build on FreeBSD 5.0 or later, should be downward compatible (verified on FreeBSD 4.5 at sf compilefamr.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5945 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-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