summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2017-02-16 15:16:39 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-02-21 18:29:25 +0000
commitdafc325f42e3e43b5cf97d806ab2ec4caf5ddd42 (patch)
tree8b4b35844a03cde0bcd0ac9ee52312135d08ea80 /src/gallium/auxiliary
parente4f971c85f96f2cea8011e469170b4844deb34d9 (diff)
gallium: do not #include foo.h within extern C {}
Analogous to previous commit. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_util.h4
1 files 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;