aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-08-09 15:59:10 +0300
committerLionel Landwerlin <[email protected]>2019-08-09 22:50:17 +0300
commit7abac7a8bfcf3f84a9de6726413c516b07adc22c (patch)
treee02898731bd8b5fc5ddbc602ea47dfb2d3ef6c29 /src
parent66373950734172e35bb855ce11bd415ee1985be3 (diff)
mesa: add stddef include in preparation for dropping p_compiler.h
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/math/m_matrix.c1
-rw-r--r--src/mesa/math/m_vector.c1
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"