replace malloc macros in imports.h with u_memory.h versions
[mesa.git] / src / mesa / drivers / common / meta.c
index 617f6ea4a84798f74e8c03b63c4423c46ab3b336..ea096d585fde8941039200fdffe8711d612b0431 100644 (file)
@@ -90,6 +90,7 @@
 #include "util/ralloc.h"
 #include "compiler/nir/nir.h"
 #include "util/u_math.h"
+#include "util/u_memory.h"
 
 /** Return offset in bytes of the field within a vertex struct */
 #define OFFSET(FIELD) ((void *) offsetof(struct vertex, FIELD))