OSDN Git Service

Add missing includes in bfin and sh4 files
authorMåns Rullgård <mans@mansr.com>
Mon, 8 Mar 2010 20:17:51 +0000 (20:17 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 8 Mar 2010 20:17:51 +0000 (20:17 +0000)
Originally committed as revision 22342 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bfin/dsputil_bfin.h
libavcodec/sh4/dsputil_sh4.h

index d50bf04..7edcf97 100644 (file)
@@ -24,6 +24,9 @@
 #ifndef AVCODEC_BFIN_DSPUTIL_BFIN_H
 #define AVCODEC_BFIN_DSPUTIL_BFIN_H
 
+#include "config.h"
+#include "libavcodec/dsputil.h"
+
 #if defined(__FDPIC__) && CONFIG_SRAM
 #define attribute_l1_text  __attribute__ ((l1_text))
 #define attribute_l1_data_b __attribute__((l1_data_B))
index cd89196..2c1f77c 100644 (file)
@@ -19,6 +19,9 @@
 #ifndef AVCODEC_SH4_DSPUTIL_SH4_H
 #define AVCODEC_SH4_DSPUTIL_SH4_H
 
+#include "libavcodec/avcodec.h"
+#include "libavcodec/dsputil.h"
+
 void idct_sh4(DCTELEM *block);
 void dsputil_init_align(DSPContext* c, AVCodecContext *avctx);