From: Francisco Jerez Date: Mon, 8 Jun 2015 11:49:31 +0000 (+0300) Subject: mesa: Drop include of simple_list.h from mtypes.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9367191b30956b9cfe578dd8e426b28d2417b6b;p=mesa.git mesa: Drop include of simple_list.h from mtypes.h. simple_list.h defines a number of macros with short non-namespaced names that can easily collide with other declarations (first_elem, last_elem, next_elem, prev_elem, at_end), and according to the comment it was only being included because of struct simple_node, which is no longer used in this file. Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 1598e2cdbd0..e67e8074a88 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -43,7 +43,6 @@ #include "glapi/glapi.h" #include "math/m_matrix.h" /* GLmatrix */ #include "glsl/shader_enums.h" -#include "util/simple_list.h" /* struct simple_node */ #include "main/formats.h" /* MESA_FORMAT_COUNT */