summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-05-11 22:03:21 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-12 03:48:32 +0200
commitcd244fae984746a7cbfdebe8f162acf7937b79f2 (patch)
tree4e029f1ddd4d937872a8588532ead5bd2c47a13b /libavutil
parent65ffc0b1ed047f20ed32ff4766415da13067bb12 (diff)
avutil/cpu-test: Fix includes (needed for HAVE_*)
Commit message by commiter Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/cpu-test.c13
1 files changed, 6 insertions, 7 deletions
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 <stdio.h>
+
+#include "config.h"
+#include "cpu.h"
#include "avstring.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#if !HAVE_GETOPT
#include "compat/getopt.c"
#endif
-#include <stdint.h>
-#include <stdio.h>
-
-#include "avstring.h"
-#include "common.h"
-#include "cpu.h"
-
static const struct {
int flag;
const char *name;