summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYong Bakos <ybakos@humanoriented.com>2016-07-18 12:42:25 -0500
committerBryce Harrington <bryce@osg.samsung.com>2016-07-25 18:39:32 -0700
commit2b1c1b2d66945c5cb237a7264759b6dbdf42b02a (patch)
tree92393d7df803a33b9a1df9e11ffe2cbf9366786a /src
parent6750b47d9e0d3074d2e56aa36c476493f533d696 (diff)
(multiple): Include stdint.h
Some headers and source files have been using types such as uint32_t without explicitly including stdint.h. Explicitly include stdint.h where appropriate. Signed-off-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src')
-rw-r--r--src/event-loop.c1
-rw-r--r--src/scanner.c1
-rw-r--r--src/wayland-client-core.h1
-rw-r--r--src/wayland-private.h1
-rw-r--r--src/wayland-server.h1
-rw-r--r--src/wayland-shm.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/event-loop.c b/src/event-loop.c
index 32216a7..6130d2a 100644
--- a/src/event-loop.c
+++ b/src/event-loop.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <signal.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <fcntl.h>
#include <sys/socket.h>
diff --git a/src/scanner.c b/src/scanner.c
index ebae4cc..d501ba7 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -31,6 +31,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdarg.h>
+#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
diff --git a/src/wayland-client-core.h b/src/wayland-client-core.h
index dfd3e18..03e781b 100644
--- a/src/wayland-client-core.h
+++ b/src/wayland-client-core.h
@@ -26,6 +26,7 @@
#ifndef WAYLAND_CLIENT_CORE_H
#define WAYLAND_CLIENT_CORE_H
+#include <stdint.h>
#include "wayland-util.h"
#include "wayland-version.h"
diff --git a/src/wayland-private.h b/src/wayland-private.h
index 045109b..adfbe01 100644
--- a/src/wayland-private.h
+++ b/src/wayland-private.h
@@ -30,6 +30,7 @@
#include <stdarg.h>
#include <stdlib.h>
+#include <stdint.h>
#define WL_HIDE_DEPRECATED 1
diff --git a/src/wayland-server.h b/src/wayland-server.h
index a6e7951..f11fb4d 100644
--- a/src/wayland-server.h
+++ b/src/wayland-server.h
@@ -36,6 +36,7 @@
#ifndef WAYLAND_SERVER_H
#define WAYLAND_SERVER_H
+#include <stdint.h>
#include "wayland-server-core.h"
#ifdef __cplusplus
diff --git a/src/wayland-shm.c b/src/wayland-shm.c
index 20bb8c8..7fea364 100644
--- a/src/wayland-shm.c
+++ b/src/wayland-shm.c
@@ -33,6 +33,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>