[PATCH i-g-t] lib/igt_profiling: add include for PATH_MAX constant

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Nov 6 13:01:43 UTC 2024


Hi Petr,
On 2024-11-05 at 09:31:20 +0100, Petr Vaněk wrote:
> PATH_MAX constant is defined in limits.h header file. It needs to be
> explicitly included in musl environment as it is not transitively
> available for any of available includes.
> 
> Fixes: 9366bee04d16 ("lib: Add DRM driver sysfs profiling knob toggling functions")
> Cc: Adrián Larumbe <adrian.larumbe at collabora.com>
> Signed-off-by: Petr Vaněk <arkamar at atlas.cz>
> ---
> Resending the patch as it seems it did not make it to the list last
> time.

This could happen if you are not subscribed to igt-dev mailing list,
your patch was deliverd to ML with a few days delay.

Regards,
Kamil

> 
>  lib/igt_profiling.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/igt_profiling.c b/lib/igt_profiling.c
> index b61506742..e1526ad98 100644
> --- a/lib/igt_profiling.c
> +++ b/lib/igt_profiling.c
> @@ -10,6 +10,7 @@
>  #include <assert.h>
>  #include <dirent.h>
>  #include <fcntl.h>
> +#include <limits.h>
>  #include <stdbool.h>
>  #include <stdio.h>
>  #include <stdlib.h>
> -- 
> 2.45.2
> 




More information about the igt-dev mailing list