[Mesa-dev] [PATCH mesa 1/2] util: rename include guard to avoid clash

Eric Engestrom eric.engestrom at imgtec.com
Wed Sep 6 14:23:08 UTC 2017


src/mesa/main/debug.h uses the same include guard.

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 src/util/debug.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/debug.h b/src/util/debug.h
index 11a8561eb5..75ebc2ebff 100644
--- a/src/util/debug.h
+++ b/src/util/debug.h
@@ -21,8 +21,8 @@
  * IN THE SOFTWARE.
  */
 
-#ifndef _DEBUG_H
-#define _DEBUG_H
+#ifndef _UTIL_DEBUG_H
+#define _UTIL_DEBUG_H
 
 #include <stdint.h>
 #include <stdbool.h>
@@ -46,4 +46,4 @@ env_var_as_boolean(const char *var_name, bool default_value);
 } /* extern C */
 #endif
 
-#endif /* _DEBUG_H */
+#endif /* _UTIL_DEBUG_H */
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list