[PATCH i-g-t 2/3] lib/xe/xe_sriov_debugfs: fix musl libs compilation

Hajda, Andrzej andrzej.hajda at intel.com
Fri Jul 11 08:09:42 UTC 2025


W dniu 10.07.2025 o 21:00, Kamil Konieczny pisze:
> Fix gcc compilation on Void Linux with musl C libs, where
> igt header misses limits.h
>
> Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

Reviewed-by: Andrzej Hajda <andrzej.hajda at intel.com>

Regards
Andrzej
> ---
>   lib/xe/xe_sriov_debugfs.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/lib/xe/xe_sriov_debugfs.c b/lib/xe/xe_sriov_debugfs.c
> index 9b743f657..e12e12c8c 100644
> --- a/lib/xe/xe_sriov_debugfs.c
> +++ b/lib/xe/xe_sriov_debugfs.c
> @@ -5,6 +5,7 @@
>   
>   #include <dirent.h>
>   #include <fcntl.h>
> +#include <limits.h>
>   
>   #include "drmtest.h"
>   #include "igt_debugfs.h"


More information about the igt-dev mailing list