diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-02-28 17:12:40 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-03-05 14:45:54 +0000 |
commit | bf0e4d219a8cf396402b46c265eb35afd22a676d (patch) | |
tree | 18e26a0e1f0c22eb5881c23494d6b7da1d3a2df2 /src | |
parent | 74c40b9b5676c836b3d6ea2ff32e3d1913a0e559 (diff) |
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 <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 1 | ||||
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 2 | ||||
-rw-r--r-- | src/egl/drivers/dri2/platform_drm.c | 1 | ||||
-rw-r--r-- | src/egl/drivers/dri2/platform_wayland.c | 1 | ||||
-rw-r--r-- | src/egl/drivers/dri2/platform_x11.c | 1 | ||||
-rw-r--r-- | src/egl/drivers/haiku/egl_haiku.cpp | 1 |
6 files changed, 7 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 63064838de..d5031961ce 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 <stdint.h> #include <stdlib.h> #include <string.h> #include <stdio.h> diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 9efe1f733f..167b3b18c6 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 <stdint.h> + #ifdef HAVE_X11_PLATFORM #include <xcb/xcb.h> #include <xcb/dri2.h> diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index bf205bef47..486b0030dc 100644 --- a/src/egl/drivers/dri2/platform_drm.c +++ b/src/egl/drivers/dri2/platform_drm.c @@ -25,6 +25,7 @@ * Kristian Høgsberg <krh@bitplanet.net> */ +#include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 07f68a2853..e226005391 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -26,6 +26,7 @@ * Benjamin Franzke <benjaminfranzke@googlemail.com> */ +#include <stdint.h> #include <stdlib.h> #include <string.h> #include <limits.h> diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index cbcf6a7886..ddb3b54e84 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -26,6 +26,7 @@ */ #include <stdbool.h> +#include <stdint.h> #include <stdlib.h> #include <string.h> #include <stdio.h> diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index f94a34bc10..4cf2ccb9db 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_haiku.cpp @@ -24,6 +24,7 @@ #include <errno.h> #include <dlfcn.h> +#include <stdint.h> #include <stdio.h> extern "C" { |