[PATCH i-g-t v1 1/3] lib/igt_sriov_device: fix musl libc build
Kamil Konieczny
kamil.konieczny at linux.intel.com
Fri Mar 15 13:18:59 UTC 2024
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>
---
lib/igt_sriov_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/igt_sriov_device.c b/lib/igt_sriov_device.c
index f425a5ecf..a0ef05d5c 100644
--- a/lib/igt_sriov_device.c
+++ b/lib/igt_sriov_device.c
@@ -5,6 +5,7 @@
#include <dirent.h>
#include <errno.h>
+#include <limits.h>
#include <pciaccess.h>
#include "drmtest.h"
--
2.42.0
More information about the igt-dev
mailing list