aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen7.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/isl/isl_gen7.h')
-rw-r--r--src/intel/isl/isl_gen7.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/isl/isl_gen7.h b/src/intel/isl/isl_gen7.h
index ddc6cab65f8..f1b7252ba3e 100644
--- a/src/intel/isl/isl_gen7.h
+++ b/src/intel/isl/isl_gen7.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef ISL_GEN7_H
+#define ISL_GEN7_H
#include "isl.h"
@@ -51,3 +52,5 @@ isl_gen7_choose_image_alignment_el(const struct isl_device *dev,
#ifdef __cplusplus
}
#endif
+
+#endif /* ISL_GEN7_H */