nir: Fix use of alloca() without #include c99_alloca.h
authorSil Vilerino <sivileri@microsoft.com>
Mon, 27 Mar 2023 20:29:32 +0000 (16:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 29 Mar 2023 16:56:42 +0000 (16:56 +0000)
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22150>

src/compiler/nir/nir_range_analysis.c

index 532335c..c85530e 100644 (file)
@@ -27,6 +27,7 @@
 #include "util/hash_table.h"
 #include "util/u_math.h"
 #include "util/u_dynarray.h"
+#include "c99_alloca.h"
 
 /**
  * Analyzes a sequence of operations to determine some aspects of the range of