# HG changeset patch # User diego # Date 1198760209 0 # Node ID 3b73d2fbc9e4398b95def46438a4ef0e8cfd728b # Parent 8baa533764d4624c65af3fd4eb6ad1ceac5e8f0f Fix make checkheaders. diff -r 8baa533764d4 -r 3b73d2fbc9e4 ppc/dsputil_altivec.h --- a/ppc/dsputil_altivec.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/dsputil_altivec.h Thu Dec 27 12:56:49 2007 +0000 @@ -23,6 +23,8 @@ #ifndef FFMPEG_DSPUTIL_ALTIVEC_H #define FFMPEG_DSPUTIL_ALTIVEC_H +#include + #include "dsputil_ppc.h" extern int has_altivec(void); diff -r 8baa533764d4 -r 3b73d2fbc9e4 ppc/gcc_fixes.h --- a/ppc/gcc_fixes.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/gcc_fixes.h Thu Dec 27 12:56:49 2007 +0000 @@ -23,6 +23,8 @@ #ifndef FFMPEG_GCC_FIXES_H #define FFMPEG_GCC_FIXES_H +#include "config.h" + #ifdef HAVE_ALTIVEC_H #include #endif diff -r 8baa533764d4 -r 3b73d2fbc9e4 ppc/imgresample_altivec.h --- a/ppc/imgresample_altivec.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/imgresample_altivec.h Thu Dec 27 12:56:49 2007 +0000 @@ -19,6 +19,8 @@ #ifndef FFMPEG_IMGRESAMPLE_ALTIVEC_H #define FFMPEG_IMGRESAMPLE_ALTIVEC_H +#include + void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src, int wrap, int16_t *filter); #endif /* FFMPEG_IMGRESAMPLE_ALTIVEC_H */ diff -r 8baa533764d4 -r 3b73d2fbc9e4 ppc/util_altivec.h --- a/ppc/util_altivec.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/util_altivec.h Thu Dec 27 12:56:49 2007 +0000 @@ -24,6 +24,14 @@ #ifndef FFMPEG_UTIL_ALTIVEC_H #define FFMPEG_UTIL_ALTIVEC_H +#include + +#include "config.h" + +#ifdef HAVE_ALTIVEC_H +#include +#endif + // used to build registers permutation vectors (vcprm) // the 's' are for words in the _s_econd vector #define WORD_0 0x00,0x01,0x02,0x03