[FFmpeg-cvslog] avutil/cpu-test: Fix includes (needed for HAVE_*)
James Almer
git at videolan.org
Thu May 12 03:50:22 CEST 2016
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed May 11 22:03:21 2016 +0200| [cd244fae984746a7cbfdebe8f162acf7937b79f2] | committer: Michael Niedermayer
avutil/cpu-test: Fix includes (needed for HAVE_*)
Commit message by commiter
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd244fae984746a7cbfdebe8f162acf7937b79f2
---
libavutil/cpu-test.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/libavutil/cpu-test.c b/libavutil/cpu-test.c
index 3eca6d2..35e7631 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;
More information about the ffmpeg-cvslog
mailing list