summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2018-11-28 08:39:34 -0800
committerMatt Turner <[email protected]>2018-11-28 11:22:47 -0800
commiteb44c36cf1729e7e200b77cf8ea755dff72d1639 (patch)
treeabbd3be177c2b4c4bbaca47d13ae697fb7b92bf0 /src/egl/main
parent2d48d5116bfe589804e60bbb8fcb261b7b208949 (diff)
egl: add missing #include <stddef.h> 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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/egldevice.h2
1 files changed, 1 insertions, 1 deletions
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 <stdbool.h>
+#include <stddef.h>
#include "egltypedefs.h"
-
#ifdef __cplusplus
extern "C" {
#endif