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