aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug
diff options
context:
space:
mode:
authorJon Turney <[email protected]>2016-07-05 10:40:05 +0100
committerJon Turney <[email protected]>2016-07-13 16:11:36 +0100
commitfc8139b146d8be00b415edf60e91425b805d5b59 (patch)
treef431738f78b5e7e36ba8b9c7ee02fa6354bc1df9 /src/gallium/drivers/ddebug
parent7d29fee4a8c5648bdd7b3af45ad1e38b0a058a0e (diff)
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 <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug')
-rw-r--r--src/gallium/drivers/ddebug/dd_util.h1
1 files changed, 1 insertions, 0 deletions
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 <unistd.h>
#include <sys/stat.h>
+#include "c99_alloca.h"
#include "os/os_process.h"
#include "util/u_debug.h"