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

Petr Vaněk arkamar at atlas.cz
Sun Dec 8 09:24:40 UTC 2024


Hi igt-devs,

On Sun, Nov 03, 2024 at 06:18:06PM +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.

gentle ping. It has been a month since I sent the patch.

Cheers,
Petr

> 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>
> ---
>  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