From 2a8f6c603154dd97d4aa82a649d66e3b0156a79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 9 Mar 2007 23:18:19 +0000 Subject: 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 --- src/demuxers/demux_asf.c | 5 ++++- src/libw32dll/wine/pe_image.c | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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 #include #include +#ifdef HAVE_ALLOCA_H +#include +#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 #endif +#ifdef HAVE_ALLOCA_H +#include +#endif #include "windef.h" #include "winbase.h" #include "winerror.h" -- cgit v1.2.3