[MPlayer-cvslog] r36017 - trunk/TOOLS/fastmemcpybench.c

diego subversion at mplayerhq.hu
Tue Mar 19 17:50:27 CET 2013


Author: diego
Date: Tue Mar 19 17:50:27 2013
New Revision: 36017

Log:
Move headers only required for the MGA code below MGA ifdef.

This allows compiling the tool on systems that do not support MGA.

Modified:
   trunk/TOOLS/fastmemcpybench.c

Modified: trunk/TOOLS/fastmemcpybench.c
==============================================================================
--- trunk/TOOLS/fastmemcpybench.c	Tue Mar 19 17:50:25 2013	(r36016)
+++ trunk/TOOLS/fastmemcpybench.c	Tue Mar 19 17:50:27 2013	(r36017)
@@ -24,10 +24,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/ioctl.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include <inttypes.h>
 
@@ -122,6 +120,9 @@
 
 #ifdef CONFIG_MGA
 
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+
 #include "drivers/mga_vid.h"
 
 static mga_vid_config_t mga_vid_config;


More information about the MPlayer-cvslog mailing list