diff options
Diffstat (limited to 'meta/recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch')
-rw-r--r-- | meta/recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch b/meta/recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch new file mode 100644 index 0000000000..91ef727d32 --- /dev/null +++ b/meta/recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From ba02b8abe4e2afac2bfbf2559972d5059d75a041 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Sat, 16 Jul 2016 22:50:19 +0300 | ||
4 | Subject: [PATCH weston] shared: include stdint.h for int32_t | ||
5 | |||
6 | This fixes build on musl. | ||
7 | |||
8 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
9 | Upstream-Status: Submitted | ||
10 | --- | ||
11 | shared/xalloc.h | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/shared/xalloc.h b/shared/xalloc.h | ||
15 | index 85fccb4..484de2d 100644 | ||
16 | --- a/shared/xalloc.h | ||
17 | +++ b/shared/xalloc.h | ||
18 | @@ -30,6 +30,7 @@ | ||
19 | extern "C" { | ||
20 | #endif | ||
21 | |||
22 | +#include <stdint.h> | ||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | |||
26 | -- | ||
27 | 2.1.4 | ||
28 | |||