Commit e0b9b3e6 authored by Clément Bœsch's avatar Clément Bœsch Committed by Clément Bœsch

lavu/tests: move timer.h include earlier

In the next commit, timer.h will require a _GNU_SOURCE to be set before
including system headers. This commit prevents compilation failures.
parent dc27df47
...@@ -17,10 +17,12 @@ ...@@ -17,10 +17,12 @@
*/ */
// LCOV_EXCL_START // LCOV_EXCL_START
#include "libavutil/timer.h"
#include <string.h> #include <string.h>
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/timer.h"
#include "libavutil/adler32.h" #include "libavutil/adler32.h"
#define LEN 7001 #define LEN 7001
......
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
*/ */
// LCOV_EXCL_START // LCOV_EXCL_START
#include "libavutil/timer.h"
#include <string.h> #include <string.h>
#include "libavutil/aes.h" #include "libavutil/aes.h"
......
...@@ -17,12 +17,14 @@ ...@@ -17,12 +17,14 @@
*/ */
// LCOV_EXCL_START // LCOV_EXCL_START
#include "libavutil/timer.h"
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/base64.h" #include "libavutil/base64.h"
#include "libavutil/timer.h"
#define MAX_DATA_SIZE 1024 #define MAX_DATA_SIZE 1024
#define MAX_ENCODED_SIZE 2048 #define MAX_ENCODED_SIZE 2048
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/timer.h"
#include "libavutil/des.c" #include "libavutil/des.c"
#include <stdint.h> #include <stdint.h>
......
...@@ -16,12 +16,13 @@ ...@@ -16,12 +16,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/timer.h"
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "libavutil/libm.h" #include "libavutil/libm.h"
#include "libavutil/timer.h"
#include "libavutil/eval.h" #include "libavutil/eval.h"
static const double const_values[] = { static const double const_values[] = {
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/timer.h"
#include <inttypes.h> #include <inttypes.h>
#include "libavutil/softfloat.h" #include "libavutil/softfloat.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment