linux-headers: bump 4.{4, 9}.x series
[buildroot-gz.git] / package / weston / 0006-tests-add-missing-include.patch
blob67dc3df2585e4e260521f4190689d9a02114f9eb
1 From 4c9e149d641a9945c3a8e15707b8712834f08c4f Mon Sep 17 00:00:00 2001
2 From: "Yann E. MORIN" <yann.morin.1998@free.fr>
3 Date: Sun, 22 Jan 2017 14:46:28 +0100
4 Subject: [PATCH] tests: add missing include
6 The int32_t type is defined in stdint.h.
8 The musl C library is very conservative in the headers that it
9 internally includes, and stdint.h is not included by any other header,
10 unlike with glibc or uClibc, which breaks the build.
12 Add the missing header.
14 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
15 ---
16 Status: sent upstream
17 https://lists.freedesktop.org/archives/wayland-devel/2017-January/032771.html
18 ---
19 tests/string-test.c | 1 +
20 1 file changed, 1 insertion(+)
22 diff --git a/tests/string-test.c b/tests/string-test.c
23 index a72ec30..5571b52 100644
24 --- a/tests/string-test.c
25 +++ b/tests/string-test.c
26 @@ -28,6 +28,7 @@
27 #include <stdlib.h>
28 #include <stdbool.h>
29 #include <stdio.h>
30 +#include <stdint.h>
31 #include <assert.h>
33 #include "shared/string-helpers.h"
34 --
35 2.7.4