egl/drivers: include stdint.h where needed
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 28 Feb 2015 17:12:40 +0000 (17:12 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 5 Mar 2015 14:45:54 +0000 (14:45 +0000)
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>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_drm.c
src/egl/drivers/dri2/platform_wayland.c
src/egl/drivers/dri2/platform_x11.c
src/egl/drivers/haiku/egl_haiku.cpp

index 63064838de19c37f9bdab322e32ab877af74fba4..d5031961ce08a8239eaaf77855306678f3685f51 100644 (file)
@@ -27,6 +27,7 @@
 
 #define WL_HIDE_DEPRECATED
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
index 9efe1f733fd0a9235565b8d21093bdd5e773a549..167b3b18c6f1ee55a94bd9aab88ccaf9b45ea66b 100644 (file)
@@ -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>
index bf205bef47a645e7e7834158354d051f1faa5d29..486b0030dcd80def5be4478d2fe594754af142e3 100644 (file)
@@ -25,6 +25,7 @@
  *    Kristian Høgsberg <krh@bitplanet.net>
  */
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
index 07f68a28534b63120ee3423ddf2bcaeb36bb2f25..e2260053917e152b5ead81ff738a885796d4367c 100644 (file)
@@ -26,6 +26,7 @@
  *    Benjamin Franzke <benjaminfranzke@googlemail.com>
  */
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <limits.h>
index cbcf6a78861d5d13201b15b404762826eb8ddb89..ddb3b54e8430a3dc554bbf2628b215438f4ee0b2 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
index f94a34bc106ac66cb3fe0c94fe082d12b1529b9b..4cf2ccb9db85a9d02b326596098d8c27e82972ca 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <errno.h>
 #include <dlfcn.h>
+#include <stdint.h>
 #include <stdio.h>
 
 extern "C" {