(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>
This commit is contained in:
Yong Bakos 2016-07-18 12:42:25 -05:00 committed by Bryce Harrington
parent 6750b47d9e
commit 2b1c1b2d66
17 changed files with 18 additions and 0 deletions

View File

@ -25,6 +25,8 @@
* Author: Keith Packard, SuSE, Inc. * Author: Keith Packard, SuSE, Inc.
*/ */
#include <stdint.h>
static uint32_t cursor_data[] = { static uint32_t cursor_data[] = {
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x00000000, 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,

View File

@ -29,6 +29,7 @@
#include "wayland-client.h" #include "wayland-client.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <sys/mman.h> #include <sys/mman.h>

View File

@ -28,6 +28,7 @@
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -31,6 +31,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <ctype.h> #include <ctype.h>

View File

@ -26,6 +26,7 @@
#ifndef WAYLAND_CLIENT_CORE_H #ifndef WAYLAND_CLIENT_CORE_H
#define WAYLAND_CLIENT_CORE_H #define WAYLAND_CLIENT_CORE_H
#include <stdint.h>
#include "wayland-util.h" #include "wayland-util.h"
#include "wayland-version.h" #include "wayland-version.h"

View File

@ -30,6 +30,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#define WL_HIDE_DEPRECATED 1 #define WL_HIDE_DEPRECATED 1

View File

@ -36,6 +36,7 @@
#ifndef WAYLAND_SERVER_H #ifndef WAYLAND_SERVER_H
#define WAYLAND_SERVER_H #define WAYLAND_SERVER_H
#include <stdint.h>
#include "wayland-server-core.h" #include "wayland-server-core.h"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -33,6 +33,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <unistd.h> #include <unistd.h>

View File

@ -27,6 +27,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -28,6 +28,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -25,6 +25,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>

View File

@ -25,6 +25,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <assert.h> #include <assert.h>
#include "wayland-private.h" #include "wayland-private.h"
#include "test-runner.h" #include "test-runner.h"

View File

@ -27,6 +27,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <assert.h> #include <assert.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -24,6 +24,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include <unistd.h> #include <unistd.h>

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <unistd.h> #include <unistd.h>
#include <stdint.h>
#include "wayland-server.h" #include "wayland-server.h"
#include "test-runner.h" #include "test-runner.h"

View File

@ -28,6 +28,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <unistd.h> #include <unistd.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -23,6 +23,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include <stdint.h>
#include <unistd.h> #include <unistd.h>
#include "wayland-server.h" #include "wayland-server.h"