(multiple): Include stdint.h
authorYong Bakos <ybakos@humanoriented.com>
Mon, 18 Jul 2016 17:42:25 +0000 (12:42 -0500)
committerBryce Harrington <bryce@osg.samsung.com>
Tue, 26 Jul 2016 01:39:32 +0000 (18:39 -0700)
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>
17 files changed:
cursor/cursor-data.h
cursor/wayland-cursor.c
src/event-loop.c
src/scanner.c
src/wayland-client-core.h
src/wayland-private.h
src/wayland-server.h
src/wayland-shm.c
tests/connection-test.c
tests/display-test.c
tests/event-loop-test.c
tests/map-test.c
tests/os-wrappers-test.c
tests/queue-test.c
tests/resources-test.c
tests/test-compositor.c
tests/test-compositor.h

index 0d03cd5..dd7a80a 100644 (file)
@@ -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,
index 18abe87..d40c5c8 100644 (file)
@@ -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>
index 32216a7..6130d2a 100644 (file)
@@ -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>
index ebae4cc..d501ba7 100644 (file)
@@ -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>
index dfd3e18..03e781b 100644 (file)
@@ -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"
 
index 045109b..adfbe01 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <stdarg.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #define WL_HIDE_DEPRECATED 1
 
index a6e7951..f11fb4d 100644 (file)
@@ -36,6 +36,7 @@
 #ifndef WAYLAND_SERVER_H
 #define WAYLAND_SERVER_H
 
+#include <stdint.h>
 #include "wayland-server-core.h"
 
 #ifdef  __cplusplus
index 20bb8c8..7fea364 100644 (file)
@@ -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>
index 5d97fd9..3e34f77 100644 (file)
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <stdint.h>
 #include <string.h>
 #include <assert.h>
 #include <sys/socket.h>
index 17956db..f4800ce 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <stdint.h>
 #include <string.h>
 #include <assert.h>
 #include <sys/socket.h>
index ae5ff94..33566b4 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <assert.h>
 #include <unistd.h>
 #include <signal.h>
index d259048..8ecc1aa 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <assert.h>
 #include "wayland-private.h"
 #include "test-runner.h"
index b636b62..102622c 100644 (file)
@@ -27,6 +27,7 @@
 #define _GNU_SOURCE
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <assert.h>
 #include <sys/types.h>
 #include <sys/socket.h>
index 932bc55..86a3602 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdbool.h>
 #include <unistd.h>
index 337f9f9..59d8beb 100644 (file)
@@ -26,6 +26,7 @@
 #include <assert.h>
 #include <sys/socket.h>
 #include <unistd.h>
+#include <stdint.h>
 
 #include "wayland-server.h"
 #include "test-runner.h"
index b01e8af..0631f61 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <sys/time.h>
 #include <sys/socket.h>
index 526e912..876d0c0 100644 (file)
@@ -23,6 +23,7 @@
  * SOFTWARE.
  */
 
+#include <stdint.h>
 #include <unistd.h>
 
 #include "wayland-server.h"