mesa: add stddef include in preparation for dropping p_compiler.h
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 9 Aug 2019 12:59:10 +0000 (15:59 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 9 Aug 2019 19:50:17 +0000 (22:50 +0300)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
src/mesa/math/m_matrix.c
src/mesa/math/m_vector.c

index 6f91dbd191515444f4b59ed4221299c8a3068da1..d3f89ee7cb7bae4b394e6ad53bc736b50e96a936 100644 (file)
@@ -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"
index 0f7c52a4ff173b469ff35bec7b05aac450336253..f25b7b20642df81f8c105c6e6b7650eeccbd0fcf 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include <stdio.h>
+#include <stddef.h>
 
 #include "main/glheader.h"
 #include "main/imports.h"