aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-28 20:16:06 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-31 00:08:43 +0100
commit8041a91a32be703f751dcb22d1e16e0e244941a7 (patch)
tree16eaff9dd152290f7f58c0c809bc5a7c2f0a1a7b
parente4e6377afcd1a201573c970ebf16fe6eabde58a4 (diff)
downloadffmpeg-8041a91a32be703f751dcb22d1e16e0e244941a7.tar.gz
avutil/internal: Move libm inclusion to the beginning
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavutil/internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index e0b2c74b21..5772b8a612 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -40,6 +40,7 @@
#include <stdio.h>
#include "config.h"
#include "attributes.h"
+#include "libm.h"
#include "macros.h"
#include "pixfmt.h"
@@ -86,8 +87,6 @@
*/
#define FF_FIELD_AT(type, off, obj) (*(type *)((char *)&(obj) + (off)))
-#include "libm.h"
-
/**
* Return NULL if CONFIG_SMALL is true, otherwise the argument
* without modification. Used to disable the definition of strings.