From 35562dc962c0adb2ae48bb9e0680f87aab170d1c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 27 Dec 2007 12:56:49 +0000 Subject: [PATCH] Fix make checkheaders. Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/dsputil_altivec.h | 2 ++ libavcodec/ppc/gcc_fixes.h | 2 ++ libavcodec/ppc/imgresample_altivec.h | 2 ++ libavcodec/ppc/util_altivec.h | 8 ++++++++ 4 files changed, 14 insertions(+) diff --git a/libavcodec/ppc/dsputil_altivec.h b/libavcodec/ppc/dsputil_altivec.h index ef75c4037e..1dd32592e6 100644 --- a/libavcodec/ppc/dsputil_altivec.h +++ b/libavcodec/ppc/dsputil_altivec.h @@ -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 --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h index 7edbe74033..c81b4ed20c 100644 --- a/libavcodec/ppc/gcc_fixes.h +++ b/libavcodec/ppc/gcc_fixes.h @@ -23,6 +23,8 @@ #ifndef FFMPEG_GCC_FIXES_H #define FFMPEG_GCC_FIXES_H +#include "config.h" + #ifdef HAVE_ALTIVEC_H #include #endif diff --git a/libavcodec/ppc/imgresample_altivec.h b/libavcodec/ppc/imgresample_altivec.h index f27d9cb5b4..538c1bee64 100644 --- a/libavcodec/ppc/imgresample_altivec.h +++ b/libavcodec/ppc/imgresample_altivec.h @@ -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 --git a/libavcodec/ppc/util_altivec.h b/libavcodec/ppc/util_altivec.h index ed029b4d85..a534df9bef 100644 --- a/libavcodec/ppc/util_altivec.h +++ b/libavcodec/ppc/util_altivec.h @@ -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