[MPlayer-cvslog] CVS: main/libvo vo_s3fb.c,1.1,1.2

Ivo van Poorten CVS syncmail at mplayerhq.hu
Thu May 18 11:21:49 CEST 2006


CVS change done by Ivo van Poorten CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv11694

Modified Files:
	vo_s3fb.c 
Log Message:
only include sys/mman.h if HAVE_SYS_MMAN_H is defined



Index: vo_s3fb.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_s3fb.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vo_s3fb.c	17 May 2006 20:56:49 -0000	1.1
+++ vo_s3fb.c	18 May 2006 09:21:45 -0000	1.2
@@ -15,11 +15,13 @@
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
-#include <sys/mman.h>
 #include <linux/fb.h>
 #include <asm/io.h>
 
 #include "config.h"
+#ifdef HAVE_SYS_MMAN_H
+#include <sys/mman.h>
+#endif
 #include "fastmemcpy.h"
 #include "video_out.h"
 #include "video_out_internal.h"




More information about the MPlayer-cvslog mailing list