summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/main/imports.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/main/imports.h')
-rw-r--r--src/glsl/glcpp/main/imports.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/glcpp/main/imports.h b/src/glsl/glcpp/main/imports.h
new file mode 100644
index 00000000000..d2197342c04
--- /dev/null
+++ b/src/glsl/glcpp/main/imports.h
@@ -0,0 +1,6 @@
+#include <assert.h>
+#include <stdlib.h>
+
+#define _mesa_malloc(x) malloc(x)
+#define _mesa_free(x) free(x)
+#define _mesa_calloc(x) calloc(1,x)