[PATCH] tests/intel/kms_pm_backlight: add include for POSIX basename
Yureka
yuka at yuka.dev
Sun Jul 7 10:54:11 UTC 2024
fixes build on musl
---
tests/intel/kms_pm_backlight.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c
index 8672afa7a..c4006b8be 100644
--- a/tests/intel/kms_pm_backlight.c
+++ b/tests/intel/kms_pm_backlight.c
@@ -44,6 +44,7 @@
#include <errno.h>
#include <unistd.h>
#include <time.h>
+#include <libgen.h> /* for POSIX basename */
#include "igt_device.h"
#include "igt_device_scan.h"
--
2.45.2
More information about the igt-dev
mailing list