diff options
author | Petri Latvala <petri.latvala@intel.com> | 2018-01-09 12:11:24 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-01-10 12:56:44 +0200 |
commit | 19c6c040b11d7a7068c66ae918a88c150243279b (patch) | |
tree | 280a04aaa490dc8dee73e0ff68b9f16da3b51c29 | |
parent | 834321a5d76a16783000441a02d7e79e72be9cc9 (diff) |
lib/igt_kms.c: Unconditionally include poll.h
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>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
-rw-r--r-- | lib/igt_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
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> |