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

Kamil Konieczny kamil.konieczny at linux.intel.com
Mon Dec 9 17:48:46 UTC 2024


Hi Petr,
On 2024-12-08 at 10:24:40 +0100, Petr Vaněk wrote:
> 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
> 

Sorry, I forgot about this, your patch merged.

Regards,
Kamil

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