summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_basic_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/ir_basic_block.h')
-rw-r--r--src/compiler/glsl/ir_basic_block.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_basic_block.h b/src/compiler/glsl/ir_basic_block.h
index dbd678b5c4f..3d32e4e110d 100644
--- a/src/compiler/glsl/ir_basic_block.h
+++ b/src/compiler/glsl/ir_basic_block.h
@@ -21,8 +21,13 @@
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef GLSL_IR_BASIC_BLOCK_H
+#define GLSL_IR_BASIC_BLOCK_H
+
void call_for_basic_blocks(exec_list *instructions,
void (*callback)(ir_instruction *first,
ir_instruction *last,
void *data),
void *data);
+
+#endif /* GLSL_IR_BASIC_BLOCK_H */