[Mesa-dev] [PATCH 09/13] gallium: do not #include foo.h within extern C {}

Emil Velikov emil.l.velikov at gmail.com
Thu Feb 16 15:16:39 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Analogous to previous commit.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/gallium/auxiliary/tgsi/tgsi_util.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_util.h b/src/gallium/auxiliary/tgsi/tgsi_util.h
index 83a930b69c..aa4606d0b2 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_util.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_util.h
@@ -28,12 +28,12 @@
 #ifndef TGSI_UTIL_H
 #define TGSI_UTIL_H
 
+#include "pipe/p_shader_tokens.h"
+
 #if defined __cplusplus
 extern "C" {
 #endif
 
-#include "pipe/p_shader_tokens.h"
-
 struct tgsi_src_register;
 struct tgsi_full_src_register;
 struct tgsi_full_instruction;
-- 
2.11.0



More information about the mesa-dev mailing list