[PATCH i-g-t 2/3] lib/xe/xe_sriov_debugfs: fix musl libs compilation
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Jul 10 19:00:11 UTC 2025
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>
---
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"
--
2.50.1
More information about the igt-dev
mailing list