From: Gurchetan Singh Date: Wed, 28 Nov 2018 16:39:34 +0000 (-0800) Subject: egl: add missing #include in egldevice.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb44c36cf1729e7e200b77cf8ea755dff72d1639;p=mesa.git egl: add missing #include in egldevice.h Otherwise, I get this error: main/egldevice.h:54:13: error: ‘NULL’ undeclared (first use in this function) dev = NULL; ^~~~ with this config: ./autogen.sh --enable-gles1 --enable-gles2 --with-platforms='surfaceless' --disable-glx --with-dri-drivers="i965" --with-gallium-drivers="" --enable-gbm v3: Use stddef.h (Matt) v4: Modify commit message (Eric) Reviewed-by: Matt Turner Reviewed-by: Eric Engestrom --- diff --git a/src/egl/main/egldevice.h b/src/egl/main/egldevice.h index ddcdcd17f5a..83a47d5eacc 100644 --- a/src/egl/main/egldevice.h +++ b/src/egl/main/egldevice.h @@ -31,9 +31,9 @@ #include +#include #include "egltypedefs.h" - #ifdef __cplusplus extern "C" { #endif