Mesa (master): Add c99_alloca.h include to fix compilation on Cygwin
Jon TURNEY
jturney at kemper.freedesktop.org
Wed Jul 13 16:44:42 UTC 2016
Module: Mesa
Branch: master
Commit: fc8139b146d8be00b415edf60e91425b805d5b59
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc8139b146d8be00b415edf60e91425b805d5b59
Author: Jon Turney <jon.turney at dronecode.org.uk>
Date: Tue Jul 5 10:40:05 2016 +0100
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 <jon.turney at dronecode.org.uk>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/drivers/ddebug/dd_util.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/ddebug/dd_util.h b/src/gallium/drivers/ddebug/dd_util.h
index 3649644..4e1a945 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"
More information about the mesa-commit
mailing list