# HG changeset patch
# User Darren Salt <[EMAIL PROTECTED]>
# Date 1181310935 -3600
# Node ID 2d1fe8649f0d9fd7dac59cebc53dba1dd706d976
# Parent  177b87440a2474e26bf090746737bde916982331
Add two missing alloca.h includes and clean up one other.

diff -r 2d1fe8649f0d9fd7dac59cebc53dba1dd706d976 -r 
177b87440a2474e26bf090746737bde916982331 src/audio_out/audio_alsa_out.c
--- a/src/audio_out/audio_alsa_out.c    Fri Jun 08 14:55:35 2007 +0100
+++ b/src/audio_out/audio_alsa_out.c    Fri Jun 08 14:47:52 2007 +0100
@@ -41,7 +41,9 @@
 #include <stdlib.h>
 #include <fcntl.h>
 #include <math.h>
+#ifdef HAVE_ALLOCA_H
 #include <alloca.h>
+#endif
 
 #define ALSA_PCM_NEW_HW_PARAMS_API
 #define ALSA_PCM_NEW_SW_PARAMS_API
diff -r 2d1fe8649f0d9fd7dac59cebc53dba1dd706d976 -r 
177b87440a2474e26bf090746737bde916982331 src/demuxers/demux_ac3.c
--- a/src/demuxers/demux_ac3.c  Fri Jun 08 14:55:35 2007 +0100
+++ b/src/demuxers/demux_ac3.c  Fri Jun 08 14:47:52 2007 +0100
@@ -36,6 +36,9 @@
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
 
 #define LOG_MODULE "demux_ac3"
 #define LOG_VERBOSE
diff -r 2d1fe8649f0d9fd7dac59cebc53dba1dd706d976 -r 
177b87440a2474e26bf090746737bde916982331 src/demuxers/demux_dts.c
--- a/src/demuxers/demux_dts.c  Fri Jun 08 14:55:35 2007 +0100
+++ b/src/demuxers/demux_dts.c  Fri Jun 08 14:47:52 2007 +0100
@@ -32,6 +32,9 @@
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
 
 #define LOG_MODULE "demux_dts"
 #define LOG_VERBOSE

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to