From cd244fae984746a7cbfdebe8f162acf7937b79f2 Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 11 May 2016 22:03:21 +0200 Subject: avutil/cpu-test: Fix includes (needed for HAVE_*) Commit message by commiter Signed-off-by: Michael Niedermayer --- libavutil/cpu-test.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libavutil') diff --git a/libavutil/cpu-test.c b/libavutil/cpu-test.c index 3eca6d2033..35e7631eaa 100644 --- a/libavutil/cpu-test.c +++ b/libavutil/cpu-test.c @@ -17,19 +17,18 @@ */ #include + +#include "config.h" +#include "cpu.h" #include "avstring.h" +#if HAVE_UNISTD_H +#include +#endif #if !HAVE_GETOPT #include "compat/getopt.c" #endif -#include -#include - -#include "avstring.h" -#include "common.h" -#include "cpu.h" - static const struct { int flag; const char *name; -- cgit v1.2.3