From: Brian Paul Date: Thu, 25 Jan 2018 16:16:54 +0000 (-0700) Subject: mesa: include mtypes.h in varray.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba01589c0c10e479434fac1391c1f35f1f9081e6;p=mesa.git mesa: include mtypes.h in varray.h We actually use some of the types from mtypes.h so include it directly instead of relying on indirectly including it via bufferobj.h Reviewed-by: Charmaine Lee --- diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h index 956553871e3..c27524e3bd7 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -28,11 +28,9 @@ #define VARRAY_H -#include "glheader.h" +#include "mtypes.h" #include "bufferobj.h" -struct gl_vertex_array; -struct gl_context; /** * Returns a pointer to the vertex attribute data in a client array,