[igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Tue Jul 4 07:23:47 UTC 2023
I've noticed missing fcntl.h include which breaks compilation of xe
tests.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Karolina Stolarek <karolina.stolarek at intel.com>
---
tests/xe/xe_sysfs_defaults.c | 1 +
tests/xe/xe_sysfs_scheduler.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/xe/xe_sysfs_defaults.c b/tests/xe/xe_sysfs_defaults.c
index a1df312e74..5c9de43e9f 100644
--- a/tests/xe/xe_sysfs_defaults.c
+++ b/tests/xe/xe_sysfs_defaults.c
@@ -14,6 +14,7 @@
*/
#include <dirent.h>
+#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/tests/xe/xe_sysfs_scheduler.c b/tests/xe/xe_sysfs_scheduler.c
index 9650194732..1da0f541ad 100644
--- a/tests/xe/xe_sysfs_scheduler.c
+++ b/tests/xe/xe_sysfs_scheduler.c
@@ -24,6 +24,7 @@
*/
#include <dirent.h>
+#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
--
2.34.1
More information about the igt-dev
mailing list