aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/math/m_matrix.h')
-rw-r--r--src/mesa/math/m_matrix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/math/m_matrix.h b/src/mesa/math/m_matrix.h
index a69afb8589a..e8e48aab75a 100644
--- a/src/mesa/math/m_matrix.h
+++ b/src/mesa/math/m_matrix.h
@@ -35,6 +35,11 @@
#include "main/glheader.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/**
* \name Symbolic names to some of the entries in the matrix
*
@@ -209,4 +214,8 @@ _mesa_transform_vector(GLfloat u[4], const GLfloat v[4], const GLfloat m[16]);
/*@}*/
+#ifdef __cplusplus
+}
+#endif
+
#endif