summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-01-05 09:56:54 -0500
committerTom Stellard <thomas.stellard@amd.com>2012-01-05 09:56:54 -0500
commitad66f2acc8a88625efa50a5bd537c8fbab3a09b8 (patch)
treecf3f0c995362500f63f8e43cf0b8ab5cd3098800
parent9f0655f2c403df0bdba62dd272bd9e93708129ff (diff)
tgsi_llvm: Add include guard to tgsi_llvm.h
Spotted by rakadam on IRC.
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_llvm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_llvm.h b/src/gallium/auxiliary/tgsi/tgsi_llvm.h
index c9fbf705854..8cbdcfb0e59 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_llvm.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_llvm.h
@@ -1,3 +1,7 @@
+
+#ifndef TGSI_LLVM_H
+#define TGSI_LLVM_H
+
#include "gallivm/lp_bld_init.h"
#include "gallivm/lp_bld_tgsi.h"
#include "pipe/p_shader_tokens.h"
@@ -138,3 +142,5 @@ void tgsi_llvm_dispose(struct tgsi_llvm_context * ctx);
struct lp_build_context * tgsi_llvm_get_base(struct tgsi_llvm_context * ctx);
unsigned tgsi_llvm_reg_index_soa(unsigned index, unsigned chan);
+
+#endif /* TGSI_LLVM_H */