diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-09 23:18:19 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-09 23:18:19 +0000 |
commit | 2a8f6c603154dd97d4aa82a649d66e3b0156a79d (patch) | |
tree | d62e05269ac8c0a9c9286674ba9bb44f689b3bcd /src | |
parent | 0f487297ae72bc48e33b4b5923921a1b43eb445f (diff) | |
download | xine-lib-2a8f6c603154dd97d4aa82a649d66e3b0156a79d.tar.gz xine-lib-2a8f6c603154dd97d4aa82a649d66e3b0156a79d.tar.bz2 |
Test presence of alloca.h and include it if present; suggested by a patch from Albert Lee. The check is needed to work on FreeBSD.
CVS patchset: 8644
CVS date: 2007/03/09 23:18:19
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_asf.c | 5 | ||||
-rw-r--r-- | src/libw32dll/wine/pe_image.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index 067889ad5..65838138f 100644 --- a/src/demuxers/demux_asf.c +++ b/src/demuxers/demux_asf.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_asf.c,v 1.193 2007/02/20 00:34:55 dgp85 Exp $ + * $Id: demux_asf.c,v 1.194 2007/03/09 23:18:19 dgp85 Exp $ * * demultiplexer for asf streams * @@ -38,6 +38,9 @@ #include <unistd.h> #include <string.h> #include <stdlib.h> +#ifdef HAVE_ALLOCA_H +#include <alloca.h> +#endif #define LOG_MODULE "demux_asf" #define LOG_VERBOSE diff --git a/src/libw32dll/wine/pe_image.c b/src/libw32dll/wine/pe_image.c index 92017f906..aa29098c1 100644 --- a/src/libw32dll/wine/pe_image.c +++ b/src/libw32dll/wine/pe_image.c @@ -47,6 +47,9 @@ #ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif +#ifdef HAVE_ALLOCA_H +#include <alloca.h> +#endif #include "windef.h" #include "winbase.h" #include "winerror.h" |