From c7312933ce571a686db242d3e4bdd6556af97c22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sun, 23 Aug 2009 11:02:41 +0000
Subject: [PATCH] Include required headers in {mips,ppc}/mathops.h

Originally committed as revision 19686 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/mips/mathops.h | 3 ++-
 libavcodec/ppc/mathops.h  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mips/mathops.h b/libavcodec/mips/mathops.h
index e763f7be9e9..b281e5f7768 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 <stdint.h>
+#include "libavutil/common.h"
 
 #if HAVE_LOONGSON
 
diff --git a/libavcodec/ppc/mathops.h b/libavcodec/ppc/mathops.h
index 1dcc09aebd8..51311fa1324 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 <stdint.h>
+#include "libavutil/common.h"
 
 #if HAVE_PPC4XX
 /* signed 16x16 -> 32 multiply add accumulate */
-- 
GitLab