[PATCHv2 weston] include stdint.h for int32_t/uint32_t

Jussi Kukkonen jussi.kukkonen at intel.com
Tue Jul 19 11:16:27 UTC 2016


Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
 clients/editor.c                    | 1 +
 clients/eventdemo.c                 | 1 +
 clients/ivi-shell-user-interface.c  | 1 +
 clients/keyboard.c                  | 1 +
 clients/multi-resource.c            | 1 +
 clients/nested-client.c             | 1 +
 clients/presentation-shm.c          | 1 +
 clients/scaler.c                    | 1 +
 clients/simple-damage.c             | 1 +
 clients/simple-dmabuf-intel.c       | 1 +
 clients/simple-dmabuf-v4l.c         | 1 +
 clients/simple-egl.c                | 1 +
 clients/simple-shm.c                | 1 +
 clients/simple-touch.c              | 1 +
 clients/stacking.c                  | 1 +
 clients/weston-info.c               | 1 +
 clients/weston-simple-im.c          | 1 +
 clients/window.h                    | 1 +
 compositor/cms-colord.c             | 1 +
 compositor/cms-helper.c             | 1 +
 compositor/main.c                   | 1 +
 compositor/screen-share.c           | 1 +
 compositor/text-backend.c           | 1 +
 compositor/weston-screenshooter.c   | 1 +
 desktop-shell/exposay.c             | 1 +
 desktop-shell/input-panel.c         | 1 +
 desktop-shell/shell.c               | 1 +
 desktop-shell/shell.h               | 1 +
 fullscreen-shell/fullscreen-shell.c | 1 +
 ivi-shell/hmi-controller.c          | 1 +
 ivi-shell/input-panel-ivi.c         | 1 +
 ivi-shell/ivi-layout-export.h       | 2 ++
 ivi-shell/ivi-layout-private.h      | 2 ++
 ivi-shell/ivi-layout-transition.c   | 1 +
 ivi-shell/ivi-layout.c              | 1 +
 ivi-shell/ivi-shell.c               | 1 +
 ivi-shell/ivi-shell.h               | 1 +
 libweston/animation.c               | 1 +
 libweston/bindings.c                | 1 +
 libweston/clipboard.c               | 1 +
 libweston/compositor-drm.c          | 1 +
 libweston/compositor-fbdev.c        | 1 +
 libweston/compositor-fbdev.h        | 2 ++
 libweston/compositor-headless.c     | 1 +
 libweston/compositor-headless.h     | 2 ++
 libweston/compositor-rdp.c          | 1 +
 libweston/compositor-wayland.c      | 1 +
 libweston/compositor-wayland.h      | 2 ++
 libweston/compositor-x11.c          | 1 +
 libweston/compositor-x11.h          | 2 ++
 libweston/compositor.h              | 1 +
 libweston/data-device.c             | 1 +
 libweston/dbus.c                    | 1 +
 libweston/gl-renderer.c             | 1 +
 libweston/gl-renderer.h             | 2 ++
 libweston/launcher-logind.c         | 1 +
 libweston/launcher-util.c           | 1 +
 libweston/launcher-weston-launch.c  | 1 +
 libweston/libbacklight.c            | 1 +
 libweston/libinput-device.c         | 1 +
 libweston/libinput-seat.c           | 1 +
 libweston/linux-dmabuf.c            | 1 +
 libweston/noop-renderer.c           | 1 +
 libweston/pixman-renderer.c         | 1 +
 libweston/screenshooter.c           | 1 +
 libweston/spring-tool.c             | 2 ++
 libweston/zoom.c                    | 1 +
 shared/config-parser.c              | 1 +
 shared/config-parser.h              | 2 ++
 shared/frame.c                      | 1 +
 shared/image-loader.c               | 1 +
 shared/xalloc.c                     | 1 +
 shared/xalloc.h                     | 1 +
 tests/buffer-count-test.c           | 1 +
 tests/internal-screenshot-test.c    | 1 +
 tests/ivi_layout-internal-test.c    | 1 +
 tests/ivi_layout-test-plugin.c      | 1 +
 tests/ivi_layout-test.c             | 1 +
 tests/keyboard-test.c               | 2 ++
 tests/presentation-test.c           | 1 +
 tests/surface-global-test.c         | 1 +
 tests/surface-screenshot.c          | 1 +
 tests/text-test.c                   | 1 +
 tests/weston-test-client-helper.c   | 1 +
 tests/weston-test-client-helper.h   | 1 +
 tests/weston-test.c                 | 1 +
 wcap/wcap-decode.h                  | 2 ++
 xwayland/dnd.c                      | 1 +
 xwayland/hash.h                     | 2 ++
 xwayland/launcher.c                 | 1 +
 xwayland/selection.c                | 1 +
 xwayland/window-manager.c           | 1 +
 92 files changed, 104 insertions(+)

diff --git a/clients/editor.c b/clients/editor.c
index e081a5b..b34ef42 100644
--- a/clients/editor.c
+++ b/clients/editor.c
@@ -25,6 +25,7 @@
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/eventdemo.c b/clients/eventdemo.c
index f04e39b..d8eef5b 100644
--- a/clients/eventdemo.c
+++ b/clients/eventdemo.c
@@ -33,6 +33,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdbool.h>
diff --git a/clients/ivi-shell-user-interface.c b/clients/ivi-shell-user-interface.c
index 06b79a2..6ae4f7c 100644
--- a/clients/ivi-shell-user-interface.c
+++ b/clients/ivi-shell-user-interface.c
@@ -26,6 +26,7 @@
 #include <sys/wait.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <linux/input.h>
diff --git a/clients/keyboard.c b/clients/keyboard.c
index bcb346a..9af3f41 100644
--- a/clients/keyboard.c
+++ b/clients/keyboard.c
@@ -25,6 +25,7 @@
 #include "config.h"
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/multi-resource.c b/clients/multi-resource.c
index 2fca7c3..2be0a7e 100644
--- a/clients/multi-resource.c
+++ b/clients/multi-resource.c
@@ -24,6 +24,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
diff --git a/clients/nested-client.c b/clients/nested-client.c
index 1891034..9918da1 100644
--- a/clients/nested-client.c
+++ b/clients/nested-client.c
@@ -23,6 +23,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/presentation-shm.c b/clients/presentation-shm.c
index 998ce8b..c9fb66c 100644
--- a/clients/presentation-shm.c
+++ b/clients/presentation-shm.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/scaler.c b/clients/scaler.c
index f504c73..17ca55d 100644
--- a/clients/scaler.c
+++ b/clients/scaler.c
@@ -24,6 +24,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <assert.h>
diff --git a/clients/simple-damage.c b/clients/simple-damage.c
index bb81902..9f0eb3e 100644
--- a/clients/simple-damage.c
+++ b/clients/simple-damage.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/simple-dmabuf-intel.c b/clients/simple-dmabuf-intel.c
index ff9b9d6..505ecb0 100644
--- a/clients/simple-dmabuf-intel.c
+++ b/clients/simple-dmabuf-intel.c
@@ -24,6 +24,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/simple-dmabuf-v4l.c b/clients/simple-dmabuf-v4l.c
index 7ee5cce..c92a3eb 100644
--- a/clients/simple-dmabuf-v4l.c
+++ b/clients/simple-dmabuf-v4l.c
@@ -22,6 +22,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index d8233c1..05cbb15 100644
--- a/clients/simple-egl.c
+++ b/clients/simple-egl.c
@@ -23,6 +23,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/simple-shm.c b/clients/simple-shm.c
index c442d88..b1fc5f1 100644
--- a/clients/simple-shm.c
+++ b/clients/simple-shm.c
@@ -24,6 +24,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/simple-touch.c b/clients/simple-touch.c
index 8fd0b0a..4d01147 100644
--- a/clients/simple-touch.c
+++ b/clients/simple-touch.c
@@ -24,6 +24,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/stacking.c b/clients/stacking.c
index 6748576..4285a17 100644
--- a/clients/stacking.c
+++ b/clients/stacking.c
@@ -24,6 +24,7 @@
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/weston-info.c b/clients/weston-info.c
index c4f7660..712346a 100644
--- a/clients/weston-info.c
+++ b/clients/weston-info.c
@@ -25,6 +25,7 @@
 
 #include <errno.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/weston-simple-im.c b/clients/weston-simple-im.c
index c997467..2d23930 100644
--- a/clients/weston-simple-im.c
+++ b/clients/weston-simple-im.c
@@ -23,6 +23,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/clients/window.h b/clients/window.h
index 8c8568f..b9b2611 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -26,6 +26,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <xkbcommon/xkbcommon.h>
 #include <wayland-client.h>
 #include <cairo.h>
diff --git a/compositor/cms-colord.c b/compositor/cms-colord.c
index b9bc9e3..152a734 100644
--- a/compositor/cms-colord.c
+++ b/compositor/cms-colord.c
@@ -27,6 +27,7 @@
 
 #include <fcntl.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/compositor/cms-helper.c b/compositor/cms-helper.c
index 7b7b8aa..1784c46 100644
--- a/compositor/cms-helper.c
+++ b/compositor/cms-helper.c
@@ -27,6 +27,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <stdio.h>
 
 #ifdef HAVE_LCMS
diff --git a/compositor/main.c b/compositor/main.c
index 1f75ae0..99cb868 100644
--- a/compositor/main.c
+++ b/compositor/main.c
@@ -33,6 +33,7 @@
 #include <signal.h>
 #include <errno.h>
 #include <dlfcn.h>
+#include <stdint.h>
 #include <string.h>
 #include <sys/utsname.h>
 #include <sys/stat.h>
diff --git a/compositor/screen-share.c b/compositor/screen-share.c
index c9e7436..0db0203 100644
--- a/compositor/screen-share.c
+++ b/compositor/screen-share.c
@@ -27,6 +27,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/compositor/text-backend.c b/compositor/text-backend.c
index 0c000ba..262ba9f 100644
--- a/compositor/text-backend.c
+++ b/compositor/text-backend.c
@@ -28,6 +28,7 @@
 
 #include <stdbool.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <string.h>
 #include <unistd.h>
 #include <time.h>
diff --git a/compositor/weston-screenshooter.c b/compositor/weston-screenshooter.c
index 234ee0b..9999909 100644
--- a/compositor/weston-screenshooter.c
+++ b/compositor/weston-screenshooter.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <linux/input.h>
 
 #include "compositor.h"
diff --git a/desktop-shell/exposay.c b/desktop-shell/exposay.c
index 7aa7630..728365c 100644
--- a/desktop-shell/exposay.c
+++ b/desktop-shell/exposay.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <linux/input.h>
 
 #include "shell.h"
diff --git a/desktop-shell/input-panel.c b/desktop-shell/input-panel.c
index 0d003b1..2e18e28 100644
--- a/desktop-shell/input-panel.c
+++ b/desktop-shell/input-panel.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index c72f801..ac64208 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/desktop-shell/shell.h b/desktop-shell/shell.h
index a5fe194..bc1b537 100644
--- a/desktop-shell/shell.h
+++ b/desktop-shell/shell.h
@@ -24,6 +24,7 @@
  */
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <time.h>
 
 #include "compositor.h"
diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c
index 2ec2d02..1eea38a 100644
--- a/fullscreen-shell/fullscreen-shell.c
+++ b/fullscreen-shell/fullscreen-shell.c
@@ -28,6 +28,7 @@
 #include <sys/wait.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <assert.h>
diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c
index 0c28e81..f3a8830 100644
--- a/ivi-shell/hmi-controller.c
+++ b/ivi-shell/hmi-controller.c
@@ -52,6 +52,7 @@
 #include <sys/wait.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <linux/input.h>
diff --git a/ivi-shell/input-panel-ivi.c b/ivi-shell/input-panel-ivi.c
index 954d4ef..4c71cc7 100644
--- a/ivi-shell/input-panel-ivi.c
+++ b/ivi-shell/input-panel-ivi.c
@@ -28,6 +28,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 
diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
index e437d9e..c909de2 100644
--- a/ivi-shell/ivi-layout-export.h
+++ b/ivi-shell/ivi-layout-export.h
@@ -55,6 +55,8 @@
 extern "C" {
 #endif /* __cplusplus */
 
+#include <stdint.h>
+
 #include "stdbool.h"
 #include "compositor.h"
 
diff --git a/ivi-shell/ivi-layout-private.h b/ivi-shell/ivi-layout-private.h
index 66b19f6..b6f0889 100644
--- a/ivi-shell/ivi-layout-private.h
+++ b/ivi-shell/ivi-layout-private.h
@@ -26,6 +26,8 @@
 #ifndef _ivi_layout_PRIVATE_H_
 #define _ivi_layout_PRIVATE_H_
 
+#include <stdint.h>
+
 #include "compositor.h"
 #include "ivi-layout-export.h"
 
diff --git a/ivi-shell/ivi-layout-transition.c b/ivi-shell/ivi-layout-transition.c
index 4913db4..bf0640e 100644
--- a/ivi-shell/ivi-layout-transition.c
+++ b/ivi-shell/ivi-layout-transition.c
@@ -28,6 +28,7 @@
 #include <time.h>
 #include <assert.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdbool.h>
 
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index dec4936..7c2f32d 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -59,6 +59,7 @@
 
 #include <string.h>
 #include <assert.h>
+#include <stdint.h>
 
 #include "compositor/weston.h"
 #include "compositor.h"
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c
index 090ee4d..c996b8f 100644
--- a/ivi-shell/ivi-shell.c
+++ b/ivi-shell/ivi-shell.c
@@ -35,6 +35,7 @@
  */
 #include "config.h"
 
+#include <stdint.h>
 #include <string.h>
 #include <dlfcn.h>
 #include <limits.h>
diff --git a/ivi-shell/ivi-shell.h b/ivi-shell/ivi-shell.h
index 369e5f8..e35f75f 100644
--- a/ivi-shell/ivi-shell.h
+++ b/ivi-shell/ivi-shell.h
@@ -27,6 +27,7 @@
 #define WESTON_IVI_SHELL_H
 
 #include <stdbool.h>
+#include <stdint.h>
 
 #include "compositor.h"
 
diff --git a/libweston/animation.c b/libweston/animation.c
index 2c7943f..30b3e5d 100644
--- a/libweston/animation.c
+++ b/libweston/animation.c
@@ -27,6 +27,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <math.h>
 
diff --git a/libweston/bindings.c b/libweston/bindings.c
index cc68cfe..2136652 100644
--- a/libweston/bindings.c
+++ b/libweston/bindings.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <linux/input.h>
 
diff --git a/libweston/clipboard.c b/libweston/clipboard.c
index 54a578f..f37508c 100644
--- a/libweston/clipboard.c
+++ b/libweston/clipboard.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <linux/input.h>
diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index f903a3b..34922af 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -27,6 +27,7 @@
 #include "config.h"
 
 #include <errno.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
diff --git a/libweston/compositor-fbdev.c b/libweston/compositor-fbdev.c
index e21ceca..852acc0 100644
--- a/libweston/compositor-fbdev.c
+++ b/libweston/compositor-fbdev.c
@@ -30,6 +30,7 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <math.h>
diff --git a/libweston/compositor-fbdev.h b/libweston/compositor-fbdev.h
index 9b5bf8e..7b182c7 100644
--- a/libweston/compositor-fbdev.h
+++ b/libweston/compositor-fbdev.h
@@ -30,6 +30,8 @@
 extern "C" {
 #endif
 
+#include <stdint.h>
+
 #include "compositor.h"
 
 #define WESTON_FBDEV_BACKEND_CONFIG_VERSION 1
diff --git a/libweston/compositor-headless.c b/libweston/compositor-headless.c
index 6c22ee3..e514b17 100644
--- a/libweston/compositor-headless.c
+++ b/libweston/compositor-headless.c
@@ -26,6 +26,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/time.h>
diff --git a/libweston/compositor-headless.h b/libweston/compositor-headless.h
index 1432f70..b432b09 100644
--- a/libweston/compositor-headless.h
+++ b/libweston/compositor-headless.h
@@ -30,6 +30,8 @@
 extern "C" {
 #endif
 
+#include <stdint.h>
+
 #include "compositor.h"
 
 #define WESTON_HEADLESS_BACKEND_CONFIG_VERSION 1
diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c
index 53c7124..2a270d3 100644
--- a/libweston/compositor-rdp.c
+++ b/libweston/compositor-rdp.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c
index 1343e21..ceb5050 100644
--- a/libweston/compositor-wayland.c
+++ b/libweston/compositor-wayland.c
@@ -27,6 +27,7 @@
 #include "config.h"
 
 #include <stddef.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/libweston/compositor-wayland.h b/libweston/compositor-wayland.h
index de69b98..b705dee 100644
--- a/libweston/compositor-wayland.h
+++ b/libweston/compositor-wayland.h
@@ -32,6 +32,8 @@
 extern "C" {
 #endif
 
+#include <stdint.h>
+
 #define WESTON_WAYLAND_BACKEND_CONFIG_VERSION 1
 
 struct weston_wayland_backend_output_config {
diff --git a/libweston/compositor-x11.c b/libweston/compositor-x11.c
index e2e6110..9e2dc37 100644
--- a/libweston/compositor-x11.c
+++ b/libweston/compositor-x11.c
@@ -29,6 +29,7 @@
 
 #include <assert.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
diff --git a/libweston/compositor-x11.h b/libweston/compositor-x11.h
index 8363a76..6a17f96 100644
--- a/libweston/compositor-x11.h
+++ b/libweston/compositor-x11.h
@@ -30,6 +30,8 @@
 extern "C" {
 #endif
 
+#include <stdint.h>
+
 #include "compositor.h"
 
 #define WESTON_X11_BACKEND_CONFIG_VERSION 1
diff --git a/libweston/compositor.h b/libweston/compositor.h
index 557d2f5..35f96b1 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -32,6 +32,7 @@ extern "C" {
 #endif
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <time.h>
 #include <pixman.h>
 #include <xkbcommon/xkbcommon.h>
diff --git a/libweston/data-device.c b/libweston/data-device.c
index 44a08f9..19d3972 100644
--- a/libweston/data-device.c
+++ b/libweston/data-device.c
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <assert.h>
 
diff --git a/libweston/dbus.c b/libweston/dbus.c
index cadedd9..36815db 100644
--- a/libweston/dbus.c
+++ b/libweston/dbus.c
@@ -35,6 +35,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/epoll.h>
diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
index 28c0b50..98600ea 100644
--- a/libweston/gl-renderer.c
+++ b/libweston/gl-renderer.c
@@ -30,6 +30,7 @@
 #include <GLES2/gl2ext.h>
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
diff --git a/libweston/gl-renderer.h b/libweston/gl-renderer.h
index 71f6b46..d92b701 100644
--- a/libweston/gl-renderer.h
+++ b/libweston/gl-renderer.h
@@ -25,6 +25,8 @@
 
 #include "config.h"
 
+#include <stdint.h>
+
 #include "compositor.h"
 
 #ifdef ENABLE_EGL
diff --git a/libweston/launcher-logind.c b/libweston/launcher-logind.c
index f755ec3..8d5e8f9 100644
--- a/libweston/launcher-logind.c
+++ b/libweston/launcher-logind.c
@@ -30,6 +30,7 @@
 #include <signal.h>
 #include <stdarg.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/libweston/launcher-util.c b/libweston/launcher-util.c
index 03b9d63..4abd1e2 100644
--- a/libweston/launcher-util.c
+++ b/libweston/launcher-util.c
@@ -31,6 +31,7 @@
 #include "launcher-util.h"
 #include "launcher-impl.h"
 
+#include <stdint.h>
 #include <unistd.h>
 #include <linux/input.h>
 
diff --git a/libweston/launcher-weston-launch.c b/libweston/launcher-weston-launch.c
index ad919f1..96ac25a 100644
--- a/libweston/launcher-weston-launch.c
+++ b/libweston/launcher-weston-launch.c
@@ -23,6 +23,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/libweston/libbacklight.c b/libweston/libbacklight.c
index 722d66f..4039575 100644
--- a/libweston/libbacklight.c
+++ b/libweston/libbacklight.c
@@ -32,6 +32,7 @@
 #include "config.h"
 
 #include "libbacklight.h"
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
diff --git a/libweston/libinput-device.c b/libweston/libinput-device.c
index 62350f2..56c8ef5 100644
--- a/libweston/libinput-device.c
+++ b/libweston/libinput-device.c
@@ -27,6 +27,7 @@
 #include "config.h"
 
 #include <errno.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <linux/input.h>
diff --git a/libweston/libinput-seat.c b/libweston/libinput-seat.c
index 94e19f5..78a5fc4 100644
--- a/libweston/libinput-seat.c
+++ b/libweston/libinput-seat.c
@@ -26,6 +26,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/libweston/linux-dmabuf.c b/libweston/linux-dmabuf.c
index a91ae85..7b29f08 100644
--- a/libweston/linux-dmabuf.c
+++ b/libweston/linux-dmabuf.c
@@ -23,6 +23,7 @@
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <sys/types.h>
 
diff --git a/libweston/noop-renderer.c b/libweston/noop-renderer.c
index b6499b8..6eed40e 100644
--- a/libweston/noop-renderer.c
+++ b/libweston/noop-renderer.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 
 #include "compositor.h"
diff --git a/libweston/pixman-renderer.c b/libweston/pixman-renderer.c
index f66a11e..4ba1377 100644
--- a/libweston/pixman-renderer.c
+++ b/libweston/pixman-renderer.c
@@ -28,6 +28,7 @@
 #include "config.h"
 
 #include <errno.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <assert.h>
 
diff --git a/libweston/screenshooter.c b/libweston/screenshooter.c
index fc14ad3..2c5dacc 100644
--- a/libweston/screenshooter.c
+++ b/libweston/screenshooter.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <linux/input.h>
diff --git a/libweston/spring-tool.c b/libweston/spring-tool.c
index 1848b3f..9e7c344 100644
--- a/libweston/spring-tool.c
+++ b/libweston/spring-tool.c
@@ -23,6 +23,8 @@
  * SOFTWARE.
  */
 
+#include <stdint.h>
+
 #include "config.h"
 
 #include "compositor.h"
diff --git a/libweston/zoom.c b/libweston/zoom.c
index 08c0693..a1a1ab2 100644
--- a/libweston/zoom.c
+++ b/libweston/zoom.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <stdbool.h>
 
diff --git a/shared/config-parser.c b/shared/config-parser.c
index 1e08759..64e3cb0 100644
--- a/shared/config-parser.c
+++ b/shared/config-parser.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <string.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
diff --git a/shared/config-parser.h b/shared/config-parser.h
index b8462a7..40a6248 100644
--- a/shared/config-parser.h
+++ b/shared/config-parser.h
@@ -30,6 +30,8 @@
 extern "C" {
 #endif
 
+#include <stdint.h>
+
 #define WESTON_CONFIG_FILE_ENV_VAR "WESTON_CONFIG_FILE"
 
 enum config_key_type {
diff --git a/shared/frame.c b/shared/frame.c
index 1b67eb1..9cd44c6 100644
--- a/shared/frame.c
+++ b/shared/frame.c
@@ -27,6 +27,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <wayland-util.h>
diff --git a/shared/image-loader.c b/shared/image-loader.c
index f477dfd..30b57cd 100644
--- a/shared/image-loader.c
+++ b/shared/image-loader.c
@@ -28,6 +28,7 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <png.h>
diff --git a/shared/xalloc.c b/shared/xalloc.c
index 9bf5245..1cc5c12 100644
--- a/shared/xalloc.c
+++ b/shared/xalloc.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <errno.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 
diff --git a/shared/xalloc.h b/shared/xalloc.h
index 85fccb4..484de2d 100644
--- a/shared/xalloc.h
+++ b/shared/xalloc.h
@@ -30,6 +30,7 @@
 extern "C" {
 #endif
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
diff --git a/tests/buffer-count-test.c b/tests/buffer-count-test.c
index 065249d..e7d8ca7 100644
--- a/tests/buffer-count-test.c
+++ b/tests/buffer-count-test.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <string.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <EGL/egl.h>
 #include <wayland-egl.h>
diff --git a/tests/internal-screenshot-test.c b/tests/internal-screenshot-test.c
index 458ebdb..3bf9b31 100644
--- a/tests/internal-screenshot-test.c
+++ b/tests/internal-screenshot-test.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 
 #include "weston-test-client-helper.h"
diff --git a/tests/ivi_layout-internal-test.c b/tests/ivi_layout-internal-test.c
index bc36ad1..d851ec0 100644
--- a/tests/ivi_layout-internal-test.c
+++ b/tests/ivi_layout-internal-test.c
@@ -30,6 +30,7 @@
 #include <signal.h>
 #include <string.h>
 #include <stdbool.h>
+#include <stdint.h>
 
 #include "compositor.h"
 #include "ivi-shell/ivi-layout-export.h"
diff --git a/tests/ivi_layout-test-plugin.c b/tests/ivi_layout-test-plugin.c
index ef6903a..f6e465b 100644
--- a/tests/ivi_layout-test-plugin.c
+++ b/tests/ivi_layout-test-plugin.c
@@ -27,6 +27,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <unistd.h>
 #include <signal.h>
 #include <string.h>
diff --git a/tests/ivi_layout-test.c b/tests/ivi_layout-test.c
index 7f22673..72aad7f 100644
--- a/tests/ivi_layout-test.c
+++ b/tests/ivi_layout-test.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 
diff --git a/tests/keyboard-test.c b/tests/keyboard-test.c
index 9cf69ec..6b4ba19 100644
--- a/tests/keyboard-test.c
+++ b/tests/keyboard-test.c
@@ -25,6 +25,8 @@
 
 #include "config.h"
 
+#include <stdint.h>
+
 #include "weston-test-client-helper.h"
 
 TEST(simple_keyboard_test)
diff --git a/tests/presentation-test.c b/tests/presentation-test.c
index cb5ff19..f12f8ee 100644
--- a/tests/presentation-test.c
+++ b/tests/presentation-test.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c
index b0a1d1c..55899c6 100644
--- a/tests/surface-global-test.c
+++ b/tests/surface-global-test.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 
 #include "compositor.h"
 
diff --git a/tests/surface-screenshot.c b/tests/surface-screenshot.c
index 703d48b..332b5e3 100644
--- a/tests/surface-screenshot.c
+++ b/tests/surface-screenshot.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <ctype.h>
diff --git a/tests/text-test.c b/tests/text-test.c
index b4a32f4..685a28d 100644
--- a/tests/text-test.c
+++ b/tests/text-test.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <string.h>
+#include <stdint.h>
 #include <stdio.h>
 
 #include "weston-test-client-helper.h"
diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c
index 1056f41..fd6ebaf 100644
--- a/tests/weston-test-client-helper.c
+++ b/tests/weston-test-client-helper.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h
index d6ecb5f..8908ae7 100644
--- a/tests/weston-test-client-helper.h
+++ b/tests/weston-test-client-helper.h
@@ -30,6 +30,7 @@
 
 #include <assert.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <pixman.h>
 
 #include <wayland-client-protocol.h>
diff --git a/tests/weston-test.c b/tests/weston-test.c
index 09d8b5e..afda7bc 100644
--- a/tests/weston-test.c
+++ b/tests/weston-test.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <signal.h>
diff --git a/wcap/wcap-decode.h b/wcap/wcap-decode.h
index 3c37441..00b757f 100644
--- a/wcap/wcap-decode.h
+++ b/wcap/wcap-decode.h
@@ -26,6 +26,8 @@
 #ifndef _WCAP_DECODE_
 #define _WCAP_DECODE_
 
+#include <stdint.h>
+
 #define WCAP_HEADER_MAGIC	0x57434150
 
 #define WCAP_FORMAT_XRGB8888	0x34325258
diff --git a/xwayland/dnd.c b/xwayland/dnd.c
index f17e4cd..61edb11 100644
--- a/xwayland/dnd.c
+++ b/xwayland/dnd.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/socket.h>
diff --git a/xwayland/hash.h b/xwayland/hash.h
index 6e1674e..334d8f4 100644
--- a/xwayland/hash.h
+++ b/xwayland/hash.h
@@ -35,6 +35,8 @@
 #ifndef HASH_H
 #define HASH_H
 
+#include <stdint.h>
+
 struct hash_table;
 struct hash_table *hash_table_create(void);
 typedef void (*hash_table_iterator_func_t)(void *element, void *data);
diff --git a/xwayland/launcher.c b/xwayland/launcher.c
index b7aee3b..15443cd 100644
--- a/xwayland/launcher.c
+++ b/xwayland/launcher.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/socket.h>
diff --git a/xwayland/selection.c b/xwayland/selection.c
index bd5e28a..641ac49 100644
--- a/xwayland/selection.c
+++ b/xwayland/selection.c
@@ -25,6 +25,7 @@
 
 #include "config.h"
 
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index f6f92bd..0149668 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/socket.h>
-- 
2.1.4



More information about the wayland-devel mailing list