Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
@ 2023-07-04  7:23 Zbigniew Kempczyński
  2023-07-04  7:28 ` Karolina Stolarek
  2023-07-04  8:18 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Zbigniew Kempczyński @ 2023-07-04  7:23 UTC (permalink / raw)
  To: igt-dev

I've noticed missing fcntl.h include which breaks compilation of xe
tests.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Karolina Stolarek <karolina.stolarek@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-04  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04  7:23 [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS Zbigniew Kempczyński
2023-07-04  7:28 ` Karolina Stolarek
2023-07-04  8:18 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox