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 3649644d28e6574b47c1c4b62855292fb5843411..4e1a945c57d4c31c76bf2986ece6062ca7aa53d0 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"