diff mbox

[i-g-t,2/3] gem_exec_schedule: Add missing #include

Message ID 1506682319-16165-3-git-send-email-petri.latvala@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Petri Latvala Sept. 29, 2017, 10:51 a.m. UTC
gem_exec_schedule used sigaction() without #include <signal.h>

CC: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
 tests/gem_exec_schedule.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Chris Wilson Sept. 29, 2017, 11:02 a.m. UTC | #1
Quoting Petri Latvala (2017-09-29 11:51:58)
> gem_exec_schedule used sigaction() without #include <signal.h>
> 
> CC: Chris Wilson <chris@chris-wilson.co.uk>
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>

And I've probably missed it in a few other files...
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
diff mbox

Patch

diff --git a/tests/gem_exec_schedule.c b/tests/gem_exec_schedule.c
index 95128420..e3cfffda 100644
--- a/tests/gem_exec_schedule.c
+++ b/tests/gem_exec_schedule.c
@@ -26,6 +26,7 @@ 
 #include <sys/poll.h>
 #include <sys/ioctl.h>
 #include <sched.h>
+#include <signal.h>
 
 #include "igt.h"
 #include "igt_vgem.h"