isl: don't warn in physical extent calculation for yuv formats
[mesa.git] / src / intel / isl / isl_gen9.h
index 12b42dc5c1cdbb536c78cf43a373420352b15d48..26d716f8f5bf7616031f9702a63a6210bab6fc63 100644 (file)
@@ -21,7 +21,8 @@
  *  IN THE SOFTWARE.
  */
 
-#pragma once
+#ifndef ISL_GEN9_H
+#define ISL_GEN9_H
 
 #include "isl.h"
 
@@ -40,3 +41,5 @@ isl_gen9_choose_image_alignment_el(const struct isl_device *dev,
 #ifdef __cplusplus
 }
 #endif
+
+#endif /* ISL_GEN9_H */