diff mbox series

[FFmpeg-devel,01/10] avcodec/mips/constants: Include intfloat.h in constants.h

Message ID AM7PR03MB6660FC6B432A26911A8BBF6C8FEF9@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 7bad2a61d8923ba2a55f4e1f3a5f8cb9b325af64
Headers show
Series [FFmpeg-devel,01/10] avcodec/mips/constants: Include intfloat.h in constants.h | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 2, 2021, 3:04 p.m. UTC
Don't rely on the user including it (mostly indirectly).

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

Comments

Andreas Rheinhardt Aug. 5, 2021, 12:57 a.m. UTC | #1
Andreas Rheinhardt:
> Don't rely on the user including it (mostly indirectly).
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavcodec/mips/constants.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/mips/constants.h b/libavcodec/mips/constants.h
> index df54b3016f..f6eaf4415e 100644
> --- a/libavcodec/mips/constants.h
> +++ b/libavcodec/mips/constants.h
> @@ -22,6 +22,8 @@
>  #ifndef AVCODEC_MIPS_CONSTANTS_H
>  #define AVCODEC_MIPS_CONSTANTS_H
>  
> +#include "libavutil/intfloat.h"
> +
>  extern const union av_intfloat64 ff_pw_1;
>  extern const union av_intfloat64 ff_pw_2;
>  extern const union av_intfloat64 ff_pw_3;
> 
Will apply this patchset tonight unless there are objections.

- Andreas
diff mbox series

Patch

diff --git a/libavcodec/mips/constants.h b/libavcodec/mips/constants.h
index df54b3016f..f6eaf4415e 100644
--- a/libavcodec/mips/constants.h
+++ b/libavcodec/mips/constants.h
@@ -22,6 +22,8 @@ 
 #ifndef AVCODEC_MIPS_CONSTANTS_H
 #define AVCODEC_MIPS_CONSTANTS_H
 
+#include "libavutil/intfloat.h"
+
 extern const union av_intfloat64 ff_pw_1;
 extern const union av_intfloat64 ff_pw_2;
 extern const union av_intfloat64 ff_pw_3;