summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_bptc_tmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texcompress_bptc_tmp.h')
-rw-r--r--src/mesa/main/texcompress_bptc_tmp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_bptc_tmp.h b/src/mesa/main/texcompress_bptc_tmp.h
index 3c4ea2c0131..90837d6af3a 100644
--- a/src/mesa/main/texcompress_bptc_tmp.h
+++ b/src/mesa/main/texcompress_bptc_tmp.h
@@ -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