summaryrefslogtreecommitdiffstats
path: root/tremor
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 22:55:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 22:55:58 +0000
commit575766b8a7f622b6f0454f7aa2a2247800bf45d3 (patch)
tree3508565a22338849a077b6ec5d5d77fe657105ae /tremor
parentc464abb983bad45b11ccf9c4ab5d086349c8eaf4 (diff)
downloadmpv-575766b8a7f622b6f0454f7aa2a2247800bf45d3.tar.bz2
mpv-575766b8a7f622b6f0454f7aa2a2247800bf45d3.tar.xz
Fix r28222, including alloca.h directly might break compilation.
Instead make sure os.h is included which includes alloca.h if possible. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28275 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'tremor')
-rw-r--r--tremor/mapping0.c2
-rw-r--r--tremor/sharedbook.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/tremor/mapping0.c b/tremor/mapping0.c
index dd1b008a67..bcf46ea8ac 100644
--- a/tremor/mapping0.c
+++ b/tremor/mapping0.c
@@ -19,8 +19,8 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
-#include <alloca.h>
#include "ogg.h"
+#include "os.h"
#include "ivorbiscodec.h"
#include "mdct.h"
#include "codec_internal.h"
diff --git a/tremor/sharedbook.c b/tremor/sharedbook.c
index 09405f2ca2..d173d8aaf5 100644
--- a/tremor/sharedbook.c
+++ b/tremor/sharedbook.c
@@ -18,7 +18,6 @@
#include <stdlib.h>
#include <math.h>
#include <string.h>
-#include <alloca.h>
#include "ogg.h"
#include "os.h"
#include "misc.h"