changeset 28240:4940b8a98c78

Fix r28222, including alloca.h directly might break compilation. Instead make sure os.h is included which includes alloca.h if possible.
author reimar
date Mon, 05 Jan 2009 22:55:58 +0000
parents 9b0e0a451464
children 898051d5d9b4
files tremor/mapping0.c tremor/sharedbook.c
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tremor/mapping0.c	Mon Jan 05 22:18:35 2009 +0000
+++ b/tremor/mapping0.c	Mon Jan 05 22:55:58 2009 +0000
@@ -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"
--- a/tremor/sharedbook.c	Mon Jan 05 22:18:35 2009 +0000
+++ b/tremor/sharedbook.c	Mon Jan 05 22:55:58 2009 +0000
@@ -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"