summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-10-13 14:05:41 +0800
committerChia-I Wu <[email protected]>2015-10-18 21:04:52 +0800
commit3fe568e2a472b764e96b67cf57ef63f40cdce5a6 (patch)
treedc3566edb3d799c2c1e6051fc748519b14f3058a /src/gallium/drivers/ilo
parentfc5ae0c13f71f049065b1422c20491d2264ae164 (diff)
ilo: remove u_memory.h inclusion from ilo_core.h
We do not make allocations generally in the core.
Diffstat (limited to 'src/gallium/drivers/ilo')
-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 4e05a3aca1e..9d5195129b7 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 <[email protected]>
*/
+#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 da7db90a54b..36d14b0b2ff 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 3dbe79fb872..d3016590551 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"