Module: Mesa
Branch: master
Commit: fc8139b146d8be00b415edf60e91425b805d5b59
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc8139b146d8be00b415edf60e91425b805d5b59

Author: Jon Turney <[email protected]>
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>

---

 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"
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to