summaryrefslogtreecommitdiff
path: root/src/mesa/math
diff options
context:
space:
mode:
authorJon Taylor <taylorj@ggi-project.org>2000-11-18 08:10:21 +0000
committerJon Taylor <taylorj@ggi-project.org>2000-11-18 08:10:21 +0000
commit912d3a04c191b835be07b8f104eed240d6cf0ada (patch)
tree3fa301ee8fed356e8953434d3a3b57e13ca9d1b1 /src/mesa/math
parent5a9026c65d260dc185e072163999f5d810015108 (diff)
* Auto* build fixes
* Added missing includes to math/*
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 ae55c946d9..94809781d9 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 7509a350d8..8257d80647 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"