summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-07-19 14:16:27 +0300
committerBryce Harrington <bryce@osg.samsung.com>2016-07-26 16:26:08 -0700
commit649bbce607fb9665114dd27d64c5273b6a2c42f5 (patch)
tree1326671d00adab855e60f018eafbe5ac5a43762f /shared
parenta4b34976dd52e2085f62cc03c3f27e1acc41c1f9 (diff)
downloadweston-649bbce607fb9665114dd27d64c5273b6a2c42f5.tar.gz
weston-649bbce607fb9665114dd27d64c5273b6a2c42f5.tar.bz2
weston-649bbce607fb9665114dd27d64c5273b6a2c42f5.zip
include stdint.h for int32_t/uint32_t
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Diffstat (limited to 'shared')
-rw-r--r--shared/config-parser.c1
-rw-r--r--shared/config-parser.h2
-rw-r--r--shared/frame.c1
-rw-r--r--shared/image-loader.c1
-rw-r--r--shared/xalloc.c1
-rw-r--r--shared/xalloc.h1
6 files changed, 7 insertions, 0 deletions
diff --git a/shared/config-parser.c b/shared/config-parser.c
index d5bbb8db..1edfd60c 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 17ef5d73..f18d2c0b 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 1b67eb13..9cd44c66 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 f477dfd7..30b57cd4 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 9bf5245e..1cc5c12a 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 85fccb48..484de2d8 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>