diff mbox series

[FFmpeg-devel,10/19] avutil/file: Don't include avutil.h

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

Checks

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
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavutil/file.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Martin Storsjö Feb. 23, 2022, 2:49 p.m. UTC | #1
On Tue, 15 Feb 2022, Andreas Rheinhardt wrote:

> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
> libavutil/file.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

LGTM

// Martin
diff mbox series

Patch

diff --git a/libavutil/file.h b/libavutil/file.h
index 3ef4a6022c..8ec210e783 100644
--- a/libavutil/file.h
+++ b/libavutil/file.h
@@ -19,9 +19,10 @@ 
 #ifndef AVUTIL_FILE_H
 #define AVUTIL_FILE_H
 
+#include <stddef.h>
 #include <stdint.h>
 
-#include "avutil.h"
+#include "attributes.h"
 
 /**
  * @file