[PATCH i-g-t v1 2/3] lib/igt_kmod: fix musl builds
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Mon Mar 18 13:38:56 UTC 2024
On Fri, 15 Mar 2024 14:19:00 +0100
Kamil Konieczny <kamil.konieczny at linux.intel.com> wrote:
> On musl build the PATH_MAX define is missing, fixed this with
> including limits.h
>
> Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138
> Cc: Bernd Kuhls <bernd at kuhls.net>
> Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
LGTM.
Reviewed-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> ---
> lib/igt_kmod.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
> index b4b884898..0b01f070f 100644
> --- a/lib/igt_kmod.c
> +++ b/lib/igt_kmod.c
> @@ -25,6 +25,7 @@
> #include <dirent.h>
> #include <errno.h>
> #include <fcntl.h>
> +#include <limits.h>
> #include <pthread.h>
> #include <signal.h>
> #include <stdlib.h>
More information about the igt-dev
mailing list