[PATCH] tests: add missing include

Yong Bakos junk at humanoriented.com
Sun Jan 22 18:36:25 UTC 2017


Yann,

> On Jan 22, 2017, at 5:50 AM, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> 
> The int32_t type is defined in stdint.h.
> 
> The musl C library is very conservative in the headers that it
> internally includes, and stdint.h is not included by any other header,
> unlike with glibc or uClibc, which breaks the build.
> 
> Add the missing header.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Seems harmless enough.

Reviewed-by: Yong Bakos <ybakos at humanoriented.com>

yong


> ---
> tests/string-test.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/tests/string-test.c b/tests/string-test.c
> index a72ec30..5571b52 100644
> --- a/tests/string-test.c
> +++ b/tests/string-test.c
> @@ -28,6 +28,7 @@
> #include <stdlib.h>
> #include <stdbool.h>
> #include <stdio.h>
> +#include <stdint.h>
> #include <assert.h>
> 
> #include "shared/string-helpers.h"
> -- 
> 2.7.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel



More information about the wayland-devel mailing list