summaryrefslogtreecommitdiff
path: root/cursor
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 /cursor
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 'cursor')
-rw-r--r--cursor/cursor-data.h2
-rw-r--r--cursor/wayland-cursor.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/cursor/cursor-data.h b/cursor/cursor-data.h
index 0d03cd5..dd7a80a 100644
--- a/cursor/cursor-data.h
+++ b/cursor/cursor-data.h
@@ -25,6 +25,8 @@
* Author: Keith Packard, SuSE, Inc.
*/
+#include <stdint.h>
+
static uint32_t cursor_data[] = {
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c
index 18abe87..d40c5c8 100644
--- a/cursor/wayland-cursor.c
+++ b/cursor/wayland-cursor.c
@@ -29,6 +29,7 @@
#include "wayland-client.h"
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>