From eaf43966027cf9654e91ca57aecc8f5a65b58f49 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 6 Nov 2019 19:53:28 +0000 Subject: [PATCH] egl: move #include of local headers out of Khronos headers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Eric Engestrom Reviewed-by: Marek Olšák --- include/EGL/eglext.h | 3 --- src/egl/generate/gen_egl_dispatch.py | 2 ++ src/egl/main/egltypedefs.h | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h index 02dd7719161..04facdfbce6 100644 --- a/include/EGL/eglext.h +++ b/include/EGL/eglext.h @@ -1373,9 +1373,6 @@ EGLAPI EGLBoolean EGLAPIENTRY eglImageInvalidateExternalEXT (EGLDisplay dpy, EGL #endif #endif /* EGL_EXT_image_flush_external */ -#include -#include - #ifdef __cplusplus } #endif diff --git a/src/egl/generate/gen_egl_dispatch.py b/src/egl/generate/gen_egl_dispatch.py index 12342b28a54..2063e9d0993 100644 --- a/src/egl/generate/gen_egl_dispatch.py +++ b/src/egl/generate/gen_egl_dispatch.py @@ -100,6 +100,8 @@ def generateHeader(functions): #include #include + #include + #include #include "glvnd/libeglabi.h" """.lstrip("\n")) diff --git a/src/egl/main/egltypedefs.h b/src/egl/main/egltypedefs.h index 642f473c4eb..4809cf5d7d5 100644 --- a/src/egl/main/egltypedefs.h +++ b/src/egl/main/egltypedefs.h @@ -33,6 +33,8 @@ #include #include +#include +#include #ifdef __cplusplus extern "C" { -- 2.30.2