aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch
blob: 91ef727d328c4298937fcf96575370fa0bf01a00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From ba02b8abe4e2afac2bfbf2559972d5059d75a041 Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Sat, 16 Jul 2016 22:50:19 +0300
Subject: [PATCH weston] shared: include stdint.h for int32_t

This fixes build on musl.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Upstream-Status: Submitted
---
 shared/xalloc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shared/xalloc.h b/shared/xalloc.h
index 85fccb4..484de2d 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>
 
-- 
2.1.4