Move headers only required for the MGA code below MGA ifdef.
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 19 Mar 2013 16:50:27 +0000 (16:50 +0000)
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 19 Mar 2013 16:50:27 +0000 (16:50 +0000)
This allows compiling the tool on systems that do not support MGA.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@36017 b3059339-0415-0410-9bf9-f77b7e298cf2

TOOLS/fastmemcpybench.c

index 017d28d..1acfe50 100644 (file)
 #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>
 
 
 #ifdef CONFIG_MGA
 
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+
 #include "drivers/mga_vid.h"
 
 static mga_vid_config_t mga_vid_config;