From bf0e4d219a8cf396402b46c265eb35afd22a676d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 28 Feb 2015 17:12:40 +0000 Subject: [PATCH] egl/drivers: include stdint.h where needed Currently these files are including it indirectly via eglcompiler.h The latter of which will be removed with follow up commits. Signed-off-by: Emil Velikov Reviewed-by: Matt Turner Reviewed-by: Brian Paul --- src/egl/drivers/dri2/egl_dri2.c | 1 + src/egl/drivers/dri2/egl_dri2.h | 2 ++ src/egl/drivers/dri2/platform_drm.c | 1 + src/egl/drivers/dri2/platform_wayland.c | 1 + src/egl/drivers/dri2/platform_x11.c | 1 + src/egl/drivers/haiku/egl_haiku.cpp | 1 + 6 files changed, 7 insertions(+) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 63064838de1..d5031961ce0 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -27,6 +27,7 @@ #define WL_HIDE_DEPRECATED +#include #include #include #include diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 9efe1f733fd..167b3b18c6f 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -28,6 +28,8 @@ #ifndef EGL_DRI2_INCLUDED #define EGL_DRI2_INCLUDED +#include + #ifdef HAVE_X11_PLATFORM #include #include diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index bf205bef47a..486b0030dcd 100644 --- a/src/egl/drivers/dri2/platform_drm.c +++ b/src/egl/drivers/dri2/platform_drm.c @@ -25,6 +25,7 @@ * Kristian Høgsberg */ +#include #include #include #include diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 07f68a28534..e2260053917 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -26,6 +26,7 @@ * Benjamin Franzke */ +#include #include #include #include diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index cbcf6a78861..ddb3b54e843 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -26,6 +26,7 @@ */ #include +#include #include #include #include diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index f94a34bc106..4cf2ccb9db8 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_haiku.cpp @@ -24,6 +24,7 @@ #include #include +#include #include extern "C" { -- 2.30.2