summaryrefslogtreecommitdiffstats
path: root/tremor
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 11:54:49 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 11:54:49 +0000
commit1745f18511c9022f1fe9b9cc930d651e3eae09df (patch)
treef060a6ea6abe3310edc07929d0040c2ecaa226dd /tremor
parent316cd982df6a9dea88727c91cb966273320483a9 (diff)
downloadmpv-1745f18511c9022f1fe9b9cc930d651e3eae09df.tar.bz2
mpv-1745f18511c9022f1fe9b9cc930d651e3eae09df.tar.xz
Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
patch by Peter Hjalmarsson, xake rymdraket net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30039 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'tremor')
-rw-r--r--tremor/misc.h2
-rw-r--r--tremor/tremor.diff13
2 files changed, 13 insertions, 2 deletions
diff --git a/tremor/misc.h b/tremor/misc.h
index 8a235d657b..541019a5bd 100644
--- a/tremor/misc.h
+++ b/tremor/misc.h
@@ -18,6 +18,7 @@
#ifndef _V_RANDOM_H_
#define _V_RANDOM_H_
#include "ivorbiscodec.h"
+#include "codec_internal.h"
#include "os_types.h"
#include "asm_arm.h"
@@ -29,6 +30,7 @@
/* 64 bit multiply */
#include <sys/types.h>
+#include <stdlib.h>
#include "config.h"
#if !HAVE_BIGENDIAN
diff --git a/tremor/tremor.diff b/tremor/tremor.diff
index 61e31c751a..c877b953d7 100644
--- a/tremor/tremor.diff
+++ b/tremor/tremor.diff
@@ -1,9 +1,18 @@
--- misc.h 2005-01-04 16:29:01.000000000 +0100
+++ misc.h 2004-12-30 13:09:20.000000000 +0100
-@@ -29,8 +29,9 @@
+@@ -18,6 +18,7 @@
+ #ifndef _V_RANDOM_H_
+ #define _V_RANDOM_H_
+ #include "ivorbiscodec.h"
++#include "codec_internal.h"
+ #include "os_types.h"
+
+ #include "asm_arm.h"
+@@ -29,8 +30,10 @@
/* 64 bit multiply */
#include <sys/types.h>
++#include <stdlib.h>
+#include "config.h"
-#if BYTE_ORDER==LITTLE_ENDIAN
@@ -11,7 +20,7 @@
union magic {
struct {
ogg_int32_t lo;
-@@ -38,9 +39,7 @@
+@@ -38,9 +41,7 @@
} halves;
ogg_int64_t whole;
};