summaryrefslogtreecommitdiff
path: root/src/mesa/math
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-01-05 05:31:42 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-01-05 05:31:42 +0000
commitf4b02d1a2675d4a0699b8995a422fbd413c32301 (patch)
tree07bcec53f4c6a8db68a7c4b85a6203bea5d3e3c5 /src/mesa/math
parent58e991705392a2e17a1c8b034f4083a0adaf1943 (diff)
various compilation/warning fixes
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_matrix.c5
-rw-r--r--src/mesa/math/m_xform.h3
-rw-r--r--src/mesa/math/mathmod.h8
3 files changed, 13 insertions, 3 deletions
diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c
index 0e04e7c8ab..856d0f56f2 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",
diff --git a/src/mesa/math/m_xform.h b/src/mesa/math/m_xform.h
index 046fc3d937..4024949257 100644
--- a/src/mesa/math/m_xform.h
+++ b/src/mesa/math/m_xform.h
@@ -1,4 +1,4 @@
-/* $Id: m_xform.h,v 1.3 2000/12/26 05:09:31 keithw Exp $ */
+/* $Id: m_xform.h,v 1.4 2001/01/05 05:31:42 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -34,7 +34,6 @@
#include "glheader.h"
#include "config.h"
-#include "math/math.h"
#include "math/m_vector.h"
#include "math/m_matrix.h"
diff --git a/src/mesa/math/mathmod.h b/src/mesa/math/mathmod.h
new file mode 100644
index 0000000000..35091a7aae
--- /dev/null
+++ b/src/mesa/math/mathmod.h
@@ -0,0 +1,8 @@
+#ifndef _MESA_MATH_H_
+#define _MESA_MATH_H_
+
+#include <math.h>
+
+extern void _math_init( void );
+
+#endif