[Mplayer-cvslog] CVS: main/libdha/sysdep pci_freebsd.c,1.2,1.3

Atmosfear atmos4 at mplayerhq.hu
Fri May 3 14:56:37 CEST 2002


Update of /cvsroot/mplayer/main/libdha/sysdep
In directory mail:/var/tmp.root/cvs-serv911

Modified Files:
	pci_freebsd.c 
Log Message:
Fix build on FreeBSD 5.0 or later, should be downward compatible (verified on FreeBSD 4.5 at sf compilefamr.


Index: pci_freebsd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/sysdep/pci_freebsd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pci_freebsd.c	15 Jan 2002 15:59:53 -0000	1.2
+++ pci_freebsd.c	3 May 2002 12:56:29 -0000	1.3
@@ -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




More information about the MPlayer-cvslog mailing list