From f9367191b30956b9cfe578dd8e426b28d2417b6b Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 8 Jun 2015 14:49:31 +0300 Subject: 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 --- src/mesa/main/mtypes.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/main') 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 */ -- cgit v1.2.3