summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_s3tc_tmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texcompress_s3tc_tmp.h')
-rw-r--r--src/mesa/main/texcompress_s3tc_tmp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_s3tc_tmp.h b/src/mesa/main/texcompress_s3tc_tmp.h
index 92316a74dd0..dbf8c871b7a 100644
--- a/src/mesa/main/texcompress_s3tc_tmp.h
+++ b/src/mesa/main/texcompress_s3tc_tmp.h
@@ -22,6 +22,9 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#ifndef TEXCOMPRESS_S3TC_TMP_H
+#define TEXCOMPRESS_S3TC_TMP_H
+
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
@@ -987,3 +990,5 @@ static void tx_compress_dxtn(GLint srccomps, GLint width, GLint height, const GL
return;
}
}
+
+#endif