public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] lib/igt_kms.c: Unconditionally include poll.h
@ 2018-01-09 10:11 Petri Latvala
  2018-01-09 10:22 ` Chris Wilson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Petri Latvala @ 2018-01-09 10:11 UTC (permalink / raw)
  To: intel-gfx

Commit 98c64b33a793 ("lib/igt_kms: Drop all stale events on first
commit.") added a use of poll() to igt_kms.c, but that file only
includes poll.h when HAVE_UDEV is defined. Move the include outside
the UDEV conditional.

Fixes: 98c64b33a793 ("lib/igt_kms: Drop all stale events on first commit.")
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 lib/igt_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index ec3b7167..069752ec 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -40,8 +40,8 @@
 #endif
 #ifdef HAVE_UDEV
 #include <libudev.h>
-#include <poll.h>
 #endif
+#include <poll.h>
 #include <errno.h>
 #include <time.h>
 
-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-01-10  5:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-09 10:11 [PATCH i-g-t] lib/igt_kms.c: Unconditionally include poll.h Petri Latvala
2018-01-09 10:22 ` Chris Wilson
2018-01-09 10:37 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-01-09 11:03 ` [PATCH i-g-t] " Chris Wilson
2018-01-09 11:47 ` ✗ Fi.CI.IGT: failure for " Patchwork
2018-01-10  5:22 ` [PATCH i-g-t] " Rhys Kidd

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