summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_priv.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-11 18:26:20 +0100
committerEmil Velikov <[email protected]>2016-10-14 11:53:32 +0100
commit3a98bffa5924d5e7d078268cfe5a42c9f58f0470 (patch)
tree568c8d2a6fdfa4839492d451044908465711129f /src/intel/isl/isl_priv.h
parent4c1c9d62a9503d912f0f4c22e0e5a162c7f2e0d3 (diff)
isl: use ifndef header guards
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_priv.h')
-rw-r--r--src/intel/isl/isl_priv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/isl/isl_priv.h b/src/intel/isl/isl_priv.h
index b539f10638d..dc3975d3ca8 100644
--- a/src/intel/isl/isl_priv.h
+++ b/src/intel/isl/isl_priv.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef ISL_PRIV_H
+#define ISL_PRIV_H
#include <assert.h>
#include <strings.h>
@@ -197,3 +198,5 @@ isl_gen8_buffer_fill_state_s(void *state,
void
isl_gen9_buffer_fill_state_s(void *state,
const struct isl_buffer_fill_state_info *restrict info);
+
+#endif /* ISL_PRIV_H */