Add c99_alloca.h include to fix compilation on Cygwin
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 5 Jul 2016 09:40:05 +0000 (10:40 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Wed, 13 Jul 2016 15:11:36 +0000 (16:11 +0100)
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 <jon.turney@dronecode.org.uk>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/ddebug/dd_util.h

index 3649644..4e1a945 100644 (file)
@@ -33,6 +33,7 @@
 #include <unistd.h>
 #include <sys/stat.h>
 
+#include "c99_alloca.h"
 #include "os/os_process.h"
 #include "util/u_debug.h"