diff --git a/libavcodec/mips/mathops.h b/libavcodec/mips/mathops.h index e763f7be9e..b281e5f776 100644 --- a/libavcodec/mips/mathops.h +++ b/libavcodec/mips/mathops.h @@ -21,7 +21,8 @@ #ifndef AVCODEC_MIPS_MATHOPS_H #define AVCODEC_MIPS_MATHOPS_H -#include "config.h" +#include +#include "libavutil/common.h" #if HAVE_LOONGSON diff --git a/libavcodec/ppc/mathops.h b/libavcodec/ppc/mathops.h index 1dcc09aebd..51311fa132 100644 --- a/libavcodec/ppc/mathops.h +++ b/libavcodec/ppc/mathops.h @@ -23,7 +23,8 @@ #ifndef AVCODEC_PPC_MATHOPS_H #define AVCODEC_PPC_MATHOPS_H -#include "config.h" +#include +#include "libavutil/common.h" #if HAVE_PPC4XX /* signed 16x16 -> 32 multiply add accumulate */