aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-02-28 17:12:40 +0000
committerEmil Velikov <[email protected]>2015-03-05 14:45:54 +0000
commitbf0e4d219a8cf396402b46c265eb35afd22a676d (patch)
tree18e26a0e1f0c22eb5881c23494d6b7da1d3a2df2
parent74c40b9b5676c836b3d6ea2ff32e3d1913a0e559 (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 <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c1
-rw-r--r--src/egl/drivers/dri2/egl_dri2.h2
-rw-r--r--src/egl/drivers/dri2/platform_drm.c1
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c1
-rw-r--r--src/egl/drivers/dri2/platform_x11.c1
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp1
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 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 <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 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 <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 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 <[email protected]>
*/
+#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 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 <[email protected]>
*/
+#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 cbcf6a78861..ddb3b54e843 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 f94a34bc106..4cf2ccb9db8 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" {