[Intel-gfx] [PATCH 27/90] assembler: Protect gen4asm.h from multiple inclusions

Damien Lespiau damien.lespiau at intel.com
Mon Feb 4 16:27:22 CET 2013


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 assembler/gen4asm.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index e47e9e6..71b8a4d 100644
--- a/assembler/gen4asm.h
+++ b/assembler/gen4asm.h
@@ -26,6 +26,9 @@
  *
  */
 
+#ifndef __GEN4ASM_H__
+#define __GEN4ASM_H__
+
 #include <inttypes.h>
 
 typedef unsigned char GLubyte;
@@ -197,3 +200,5 @@ int yylex_destroy(void);
 
 char *
 lex_text(void);
+
+#endif /* __GEN4ASM_H__ */
-- 
1.7.7.5




More information about the Intel-gfx mailing list