summaryrefslogtreecommitdiffstats
path: root/src/mesa/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_matrix.c5
-rw-r--r--src/mesa/math/m_xform.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c
index ae55c946d9c..94809781d9b 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.1 2000/11/16 21:05:41 keithw Exp $ */
+/* $Id: m_matrix.c,v 1.2 2000/11/18 08:10:24 jtaylor 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 <tgmath.h>
#include "glheader.h"
#include "macros.h"
@@ -42,7 +44,6 @@
#include "m_matrix.h"
-
static const char *types[] = {
"MATRIX_GENERAL",
"MATRIX_IDENTITY",
diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c
index 7509a350d80..8257d806470 100644
--- a/src/mesa/math/m_xform.c
+++ b/src/mesa/math/m_xform.c
@@ -1,4 +1,4 @@
-/* $Id: m_xform.c,v 1.2 2000/11/17 21:01:49 brianp Exp $ */
+/* $Id: m_xform.c,v 1.3 2000/11/18 08:10:24 jtaylor Exp $ */
/*
* Mesa 3-D graphics library
@@ -35,6 +35,7 @@
* 3. Transformation of a point p by a matrix M is: p' = M * p
*/
+#include <math.h>
#include "glheader.h"
#include "macros.h"