ilo: remove u_memory.h inclusion from ilo_core.h
authorChia-I Wu <olvaffe@gmail.com>
Tue, 13 Oct 2015 06:05:41 +0000 (14:05 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 18 Oct 2015 13:04:52 +0000 (21:04 +0800)
We do not make allocations generally in the core.

src/gallium/drivers/ilo/core/ilo_builder.c
src/gallium/drivers/ilo/core/ilo_core.h
src/gallium/drivers/ilo/ilo_common.h

index 4e05a3aca1e6e6fb154662943b25cc4db75ba47b..9d5195129b7fcb1d63034cbbf7598232a8bc9d48 100644 (file)
@@ -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() */
 
index da7db90a54bca8ca25fe6c59f7b1b3de1bf0ce16..36d14b0b2fffec5ae14f8b15937313dffdbba29f 100644 (file)
@@ -32,6 +32,5 @@
 
 #include "util/u_debug.h"
 #include "util/u_math.h"
-#include "util/u_memory.h"
 
 #endif /* ILO_CORE_H */
index 3dbe79fb872335becdbb390704113da131b22023..d30165905519dfc99a9424822c1628bb6dc0b767 100644 (file)
@@ -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"