diff options
-rw-r--r-- | src/mesa/math/m_matrix.c | 1 | ||||
-rw-r--r-- | src/mesa/math/m_vector.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c index 6f91dbd1915..d3f89ee7cb7 100644 --- a/src/mesa/math/m_matrix.c +++ b/src/mesa/math/m_matrix.c @@ -33,6 +33,7 @@ * -# Transformation of a point p by a matrix M is: p' = M * p */ +#include <stddef.h> #include "c99_math.h" #include "main/errors.h" diff --git a/src/mesa/math/m_vector.c b/src/mesa/math/m_vector.c index 0f7c52a4ff1..f25b7b20642 100644 --- a/src/mesa/math/m_vector.c +++ b/src/mesa/math/m_vector.c @@ -27,6 +27,7 @@ */ #include <stdio.h> +#include <stddef.h> #include "main/glheader.h" #include "main/imports.h" |