summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glsl_parser_extras.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h
index 932c12d8410..1c972623c20 100644
--- a/glsl_parser_extras.h
+++ b/glsl_parser_extras.h
@@ -25,6 +25,7 @@
#ifndef GLSL_PARSER_EXTRAS_H
#define GLSL_PARSER_EXTRAS_H
+#include <cstdlib>
#include "main/simple_list.h"
enum _mesa_glsl_parser_targets {