summaryrefslogtreecommitdiff
path: root/src/glsl/opt_constant_variable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/opt_constant_variable.cpp')
-rw-r--r--src/glsl/opt_constant_variable.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/opt_constant_variable.cpp b/src/glsl/opt_constant_variable.cpp
index 8068d0c143..1f51da6e4f 100644
--- a/src/glsl/opt_constant_variable.cpp
+++ b/src/glsl/opt_constant_variable.cpp
@@ -37,6 +37,9 @@
#include "ir_optimization.h"
#include "glsl_types.h"
+using std::calloc;
+using std::free;
+
struct assignment_entry {
exec_node link;
int assignment_count;