On Tuesday, 2018-06-12 11:59:01 +0100, Ross Burton wrote:
> brw_bufmgr.h uses time_t without include time.h, so the build fails under 
> musl.

Indeed, in struct brw_bo.
Reviewed-by: Eric Engestrom <[email protected]>

... and pushed, thank :)

> ---
>  src/mesa/drivers/dri/i965/brw_bufmgr.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h 
> b/src/mesa/drivers/dri/i965/brw_bufmgr.h
> index 68f5e0c2c8..5c2702652b 100644
> --- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
> +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
> @@ -37,6 +37,8 @@
>  #include <stdbool.h>
>  #include <stdint.h>
>  #include <stdio.h>
> +#include <time.h>
> +
>  #include "util/u_atomic.h"
>  #include "util/list.h"
>  
> -- 
> 2.11.0
> 
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to