summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2015-10-13 14:05:41 +0800
committerChia-I Wu <olvaffe@gmail.com>2015-10-18 21:04:52 +0800
commit3fe568e2a472b764e96b67cf57ef63f40cdce5a6 (patch)
treedc3566edb3d799c2c1e6051fc748519b14f3058a
parentfc5ae0c13f71f049065b1422c20491d2264ae164 (diff)
downloadexternal_mesa3d-3fe568e2a472b764e96b67cf57ef63f40cdce5a6.zip
external_mesa3d-3fe568e2a472b764e96b67cf57ef63f40cdce5a6.tar.gz
external_mesa3d-3fe568e2a472b764e96b67cf57ef63f40cdce5a6.tar.bz2
ilo: remove u_memory.h inclusion from ilo_core.h
We do not make allocations generally in the core.
-rw-r--r--src/gallium/drivers/ilo/core/ilo_builder.c2
-rw-r--r--src/gallium/drivers/ilo/core/ilo_core.h1
-rw-r--r--src/gallium/drivers/ilo/ilo_common.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/core/ilo_builder.c b/src/gallium/drivers/ilo/core/ilo_builder.c
index 4e05a3a..9d51951 100644
--- a/src/gallium/drivers/ilo/core/ilo_builder.c
+++ b/src/gallium/drivers/ilo/core/ilo_builder.c
@@ -25,6 +25,8 @@
* Chia-I Wu <olv@lunarg.com>
*/
+#include "util/u_memory.h"
+
#include "ilo_builder.h"
#include "ilo_builder_render.h" /* for ilo_builder_batch_patch_sba() */
diff --git a/src/gallium/drivers/ilo/core/ilo_core.h b/src/gallium/drivers/ilo/core/ilo_core.h
index da7db90..36d14b0 100644
--- a/src/gallium/drivers/ilo/core/ilo_core.h
+++ b/src/gallium/drivers/ilo/core/ilo_core.h
@@ -32,6 +32,5 @@
#include "util/u_debug.h"
#include "util/u_math.h"
-#include "util/u_memory.h"
#endif /* ILO_CORE_H */
diff --git a/src/gallium/drivers/ilo/ilo_common.h b/src/gallium/drivers/ilo/ilo_common.h
index 3dbe79f..d301659 100644
--- a/src/gallium/drivers/ilo/ilo_common.h
+++ b/src/gallium/drivers/ilo/ilo_common.h
@@ -34,6 +34,7 @@
#include "util/list.h"
#include "util/u_format.h"
#include "util/u_inlines.h"
+#include "util/u_memory.h"
#include "util/u_pointer.h"
#include "core/ilo_core.h"