summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-02-19 14:47:57 -0800
committerMatt Turner <[email protected]>2014-05-15 15:45:39 -0700
commitd4d843e02f11ef1174adba541df16a75759c3512 (patch)
tree030f9590041f632e64a756d953c457253c2a0820 /src/mesa
parent9b0108ddc1d8e538d642823ef949ea09500ccdec (diff)
i965/cfg: Protect brw_cfg.h from multiple inclusion.
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cfg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.h b/src/mesa/drivers/dri/i965/brw_cfg.h
index 7bd3e2442f1..5911107f175 100644
--- a/src/mesa/drivers/dri/i965/brw_cfg.h
+++ b/src/mesa/drivers/dri/i965/brw_cfg.h
@@ -25,6 +25,10 @@
*
*/
+#pragma once
+#ifndef BRW_CFG_H
+#define BRW_CFG_H
+
#include "brw_shader.h"
class bblock_t;
@@ -89,3 +93,5 @@ public:
bblock_t **blocks;
int num_blocks;
};
+
+#endif /* BRW_CFG_H */