diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-14 16:11:43 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 15:34:10 +0300 |
commit | f3c197b129482954e863aa6cc0fe9fd0713a9321 (patch) | |
tree | 6d3a7c71f9ba5279c93b3e199f072d0c535ea637 /libavutil | |
parent | 84ac1440b2a726b8a989dafdf634081651de1c10 (diff) |
Include attributes.h directly
Some files currently rely on libavutil/cpu.h to include it for them;
yet said file won't use include it any more after the currently
deprecated functions are removed, so include attributes.h directly.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/mips/libm_mips.h | 2 | ||||
-rw-r--r-- | libavutil/x86/lls_init.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/mips/libm_mips.h b/libavutil/mips/libm_mips.h index 757867bce9..fbf7cf41cc 100644 --- a/libavutil/mips/libm_mips.h +++ b/libavutil/mips/libm_mips.h @@ -53,6 +53,8 @@ #ifndef AVUTIL_MIPS_LIBM_MIPS_H #define AVUTIL_MIPS_LIBM_MIPS_H +#include "libavutil/attributes.h" + static av_always_inline av_const long int lrintf_mips(float x) { register int ret_int; diff --git a/libavutil/x86/lls_init.c b/libavutil/x86/lls_init.c index 1c5dca42dc..c786376915 100644 --- a/libavutil/x86/lls_init.c +++ b/libavutil/x86/lls_init.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/lls.h" #include "libavutil/x86/cpu.h" |