aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2007-06-09 17:52:16 +0000
committerDiego Biurrun <diego@biurrun.de>2007-06-09 17:52:16 +0000
commit12807c8d874746d143d7f6a945e031e1aa646709 (patch)
treeb6261e4e7041d33e509d2b0836323d4452cdd4ec
parent15bf461bb6041557409d5437b2609842933cd9f2 (diff)
downloadffmpeg-12807c8d874746d143d7f6a945e031e1aa646709.tar.gz
Add some #includes to allow compilation without HAVE_AV_CONFIG_H.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net Originally committed as revision 9263 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dct-test.c1
-rw-r--r--libavcodec/fft-test.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 77aa4b69b2..4ac991bc90 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
+#include <math.h>
#include "dsputil.h"
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index d2497383d5..5a79c88b0e 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -27,6 +27,8 @@
#include <math.h>
#include <unistd.h>
#include <sys/time.h>
+#include <stdlib.h>
+#include <string.h>
#undef exit