OSDN Git Service

cpu-test: include stdio.h only for test prog
authorMans Rullgard <mans@mansr.com>
Sat, 15 Jan 2011 15:09:26 +0000 (15:09 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 18 Jan 2011 20:48:24 +0000 (20:48 +0000)
libavutil/cpu.c

index 766f13f..1e03491 100644 (file)
@@ -16,8 +16,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <stdio.h>
-
 #include "cpu.h"
 #include "config.h"
 
@@ -39,6 +37,7 @@ int av_get_cpu_flags(void)
 #ifdef TEST
 
 #undef printf
+#include <stdio.h>
 
 int main(void)
 {