[PATCH] scanner: Fix building on musl

Hardening rdp.effort at gmail.com
Thu Jun 23 05:52:16 UTC 2016


Le 23/06/2016 01:48, Kylie McClain a écrit :
> From: Kylie McClain <somasis at exherbo.org>
> 
> `uint` is defined in sys/types.h on musl libc.
> 
> Signed-off-by: Kylie McClain <somasis at exherbo.org>
> ---
>  src/scanner.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/scanner.c b/src/scanner.c
> index 4708cae..48d6014 100644
> --- a/src/scanner.c
> +++ b/src/scanner.c
> @@ -38,6 +38,7 @@
>  #include <getopt.h>
>  #include <limits.h>
>  #include <unistd.h>
> +#include <sys/types.h>
>  
>  #if HAVE_LIBXML
>  #include <libxml/parser.h>
> 
Reviewed-By: David Fort <contact at hardening-consulting.com>

-- 
David FORT
website: http://www.hardening-consulting.com/



More information about the wayland-devel mailing list