summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index 5f47572770..47666ab20a 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -35,6 +35,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_AV_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef __GNUC__
# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y)
#else
@@ -280,7 +284,6 @@ static inline av_const float av_clipf(float a, float amin, float amax)
#include "mem.h"
#ifdef HAVE_AV_CONFIG_H
-# include "config.h"
# include "internal.h"
#endif /* HAVE_AV_CONFIG_H */