diff mbox series

[FFmpeg-devel,03/19] avcodec/cabac_functions: Add missing headers

Message ID AM7PR03MB6660A1ED6E08ED533671FE6E8F349@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit dd2c871aa304ccbc5d2c8be319597d85505ddf89
Headers show
Series [FFmpeg-devel] avutil/x86/emms: Don't unnecessarily include lavu/cpu.h | expand


Context Check Description
yinshiyou/configure_loongarch64 warning Failed to run configure
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Feb. 15, 2022, 5:42 p.m. UTC
Fixes make checkheaders on PPC, for which no arch-specific header
exists that indirectly includes attributes.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
 libavcodec/cabac_functions.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series


diff --git a/libavcodec/cabac_functions.h b/libavcodec/cabac_functions.h
index 2f2d48a8f8..c3f08d3410 100644
--- a/libavcodec/cabac_functions.h
+++ b/libavcodec/cabac_functions.h
@@ -30,6 +30,8 @@ 
 #include <stddef.h>
 #include <stdint.h>
+#include "libavutil/attributes.h"
+#include "libavutil/intmath.h"
 #include "cabac.h"
 #include "config.h"