mesa: Add missing include guards
[mesa.git] / src / mesa / main / texcompress_bptc_tmp.h
index 3c4ea2c01316c071ef7f840912a03504917474a1..90837d6af3a5251e34aa224d53a1f27b8f13d21b 100644 (file)
@@ -25,6 +25,9 @@
  * Included by texcompress_bptc and gallium to define BPTC decoding routines.
  */
 
+#ifndef TEXCOMPRESS_BPTC_TMP_H
+#define TEXCOMPRESS_BPTC_TMP_H
+
 #include "util/format_srgb.h"
 #include "util/half_float.h"
 #include "macros.h"
@@ -1741,3 +1744,5 @@ compress_rgb_float(int width, int height,
       dst += dst_row_diff;
    }
 }
+
+#endif