On Sun, Jan 20, 2013 at 9:31 AM, Martin Storsjö <[email protected]> wrote:
> This fixes build failures on ppc machines with a compiler that
> supports -Werror=implicit-function-declaration.
>
> ---
> Not actually tested, but it should hopefully fix
> failures on fate instances like http://fate.libav.org/ppc-linux-gcc-mt.
> ---
>  libavcodec/ppc/vp3dsp_altivec.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/libavcodec/ppc/vp3dsp_altivec.c b/libavcodec/ppc/vp3dsp_altivec.c
> index 6adf9ae..24ad09f 100644
> --- a/libavcodec/ppc/vp3dsp_altivec.c
> +++ b/libavcodec/ppc/vp3dsp_altivec.c
> @@ -18,6 +18,8 @@
>   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 
> USA
>   */
>
> +#include <string.h>
> +
>  #include "config.h"
>  #include "libavutil/attributes.h"
>  #include "libavutil/cpu.h"
> --

Confirming that this fixes my ppc32 & ppc64 shared builds.

-- Sean McG.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to