diff --git a/libavcodec/ppc/dsputil_ppc.h b/libavcodec/ppc/dsputil_ppc.h index d9740ce592..3583acfc46 100644 --- a/libavcodec/ppc/dsputil_ppc.h +++ b/libavcodec/ppc/dsputil_ppc.h @@ -21,6 +21,8 @@ #ifndef AVCODEC_PPC_DSPUTIL_PPC_H #define AVCODEC_PPC_DSPUTIL_PPC_H +#include "config.h" + #if CONFIG_POWERPC_PERF void powerpc_display_perf_report(void); /* the 604* have 2, the G3* have 4, the G4s have 6, diff --git a/libavcodec/ppc/mathops.h b/libavcodec/ppc/mathops.h index 8c0eab01f1..adf04cb1da 100644 --- a/libavcodec/ppc/mathops.h +++ b/libavcodec/ppc/mathops.h @@ -23,6 +23,8 @@ #ifndef AVCODEC_PPC_MATHOPS_H #define AVCODEC_PPC_MATHOPS_H +#include "config.h" + #if HAVE_PPC4XX /* signed 16x16 -> 32 multiply add accumulate */ #define MAC16(rt, ra, rb) \