[Mesa-dev] [PATCH mesa 1/2] egl: add missing includes
Eric Engestrom
eric.engestrom at intel.com
Fri Nov 16 10:07:36 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
src/egl/drivers/dri2/egl_dri2.c | 1 +
src/egl/main/eglapi.c | 2 ++
src/egl/main/eglapi.h | 1 +
src/egl/main/eglglobals.c | 2 ++
src/egl/main/eglsurface.c | 2 ++
5 files changed, 8 insertions(+)
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 6de5c2465ea4ac2a1015..465c06aeb9b0b8ec1298 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -58,6 +58,7 @@
#include "X11/Xlibint.h"
#endif
+#include "egldefines.h"
#include "egl_dri2.h"
#include "GL/mesa_glinterop.h"
#include "loader/loader.h"
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index c0b2fc4777a483bd7fbe..b65c9e3f72f6e98739b3 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -90,6 +90,8 @@
#include "c11/threads.h"
#include "util/macros.h"
+#include "eglapi.h"
+#include "egldefines.h"
#include "eglglobals.h"
#include "eglcontext.h"
#include "egldisplay.h"
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h
index 3f70377cd74b10f97dc9..07ddf34a0320db6516db 100644
--- a/src/egl/main/eglapi.h
+++ b/src/egl/main/eglapi.h
@@ -31,6 +31,7 @@
#ifndef EGLAPI_INCLUDED
#define EGLAPI_INCLUDED
+#include "egltypedefs.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c
index 33d92533d15e00f378a3..2fc64bc52c340abd8ab1 100644
--- a/src/egl/main/eglglobals.c
+++ b/src/egl/main/eglglobals.c
@@ -40,6 +40,8 @@
#include "egldriver.h"
#include "egllog.h"
+#include "util/macros.h"
+
#ifdef HAVE_MINCORE
#include <unistd.h>
#include <sys/mman.h>
diff --git a/src/egl/main/eglsurface.c b/src/egl/main/eglsurface.c
index 95677105e5835130a6c7..cd1c7ea4c56141060efe 100644
--- a/src/egl/main/eglsurface.c
+++ b/src/egl/main/eglsurface.c
@@ -36,6 +36,7 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
+#include "egldefines.h"
#include "egldisplay.h"
#include "egldriver.h"
#include "eglcontext.h"
@@ -44,6 +45,7 @@
#include "egllog.h"
#include "eglsurface.h"
+#include "util/macros.h"
/**
* Parse the list of surface attributes and return the proper error code.
--
Cheers,
Eric
More information about the mesa-dev
mailing list