From: Jon Turney Date: Tue, 5 Jul 2016 09:40:05 +0000 (+0100) Subject: Add c99_alloca.h include to fix compilation on Cygwin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc8139b146d8be00b415edf60e91425b805d5b59;p=mesa.git Add c99_alloca.h include to fix compilation on Cygwin Fix compilation on Cygwin, since 50b22354, by adding c99_alloca.h include, which should know how to portably make the alloc() prototype available. Signed-off-by: Jon Turney Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/ddebug/dd_util.h b/src/gallium/drivers/ddebug/dd_util.h index 3649644d28e..4e1a945c57d 100644 --- a/src/gallium/drivers/ddebug/dd_util.h +++ b/src/gallium/drivers/ddebug/dd_util.h @@ -33,6 +33,7 @@ #include #include +#include "c99_alloca.h" #include "os/os_process.h" #include "util/u_debug.h"