summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_matrix.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-01-05 05:31:42 +0000
committerKeith Whitwell <[email protected]>2001-01-05 05:31:42 +0000
commitf4b02d1a2675d4a0699b8995a422fbd413c32301 (patch)
tree07bcec53f4c6a8db68a7c4b85a6203bea5d3e3c5 /src/mesa/math/m_matrix.c
parent58e991705392a2e17a1c8b034f4083a0adaf1943 (diff)
various compilation/warning fixes
Diffstat (limited to 'src/mesa/math/m_matrix.c')
-rw-r--r--src/mesa/math/m_matrix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c
index 0e04e7c8ab9..856d0f56f2f 100644
--- a/src/mesa/math/m_matrix.c
+++ b/src/mesa/math/m_matrix.c
@@ -1,4 +1,4 @@
-/* $Id: m_matrix.c,v 1.4 2000/11/24 10:25:11 keithw Exp $ */
+/* $Id: m_matrix.c,v 1.5 2001/01/05 05:31:42 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -34,6 +34,8 @@
* 3. Transformation of a point p by a matrix M is: p' = M * p
*/
+#include <math.h>
+
#include "glheader.h"
#include "macros.h"
#include "mem.h"
@@ -41,6 +43,7 @@
#include "m_matrix.h"
+
static const char *types[] = {
"MATRIX_GENERAL",
"MATRIX_IDENTITY",