Mesa (master): ilo: remove u_debug.h inclusion from ilo_core.h

Chia-I Wu olv at kemper.freedesktop.org
Sun Oct 18 13:36:03 UTC 2015


Module: Mesa
Branch: master
Commit: 29a0f7479dd09ca60bed084fd6e5f736a6340cb5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29a0f7479dd09ca60bed084fd6e5f736a6340cb5

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Tue Oct 13 14:09:24 2015 +0800

ilo: remove u_debug.h inclusion from ilo_core.h

Move it to ilo_debug.h.

---

 src/gallium/drivers/ilo/core/ilo_core.h  |    1 -
 src/gallium/drivers/ilo/core/ilo_debug.h |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/ilo/core/ilo_core.h b/src/gallium/drivers/ilo/core/ilo_core.h
index 36d14b0..cbc568c 100644
--- a/src/gallium/drivers/ilo/core/ilo_core.h
+++ b/src/gallium/drivers/ilo/core/ilo_core.h
@@ -30,7 +30,6 @@
 
 #include "pipe/p_compiler.h"
 
-#include "util/u_debug.h"
 #include "util/u_math.h"
 
 #endif /* ILO_CORE_H */
diff --git a/src/gallium/drivers/ilo/core/ilo_debug.h b/src/gallium/drivers/ilo/core/ilo_debug.h
index 9833233..532a2aa 100644
--- a/src/gallium/drivers/ilo/core/ilo_debug.h
+++ b/src/gallium/drivers/ilo/core/ilo_debug.h
@@ -28,6 +28,8 @@
 #ifndef ILO_DEBUG_H
 #define ILO_DEBUG_H
 
+#include "util/u_debug.h"
+
 #include "ilo_core.h"
 
 /* enable debug flags affecting hot pathes only with debug builds */




More information about the mesa-commit mailing list