summaryrefslogtreecommitdiffstats
path: root/src/glsl/main/imports.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/main/imports.h')
-rw-r--r--src/glsl/main/imports.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/main/imports.h b/src/glsl/main/imports.h
new file mode 100644
index 00000000000..d2197342c04
--- /dev/null
+++ b/src/glsl/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)