[PATCH:intel-gpu-tools] tests/gem_seqno_wrap.c: include <signal.h> for definition of kill()

Alan Coopersmith alan.coopersmith at oracle.com
Sun Dec 16 10:38:54 PST 2012


Fixes build failure on Solaris:
gem_seqno_wrap.c: In function ‘run_cmd’:
gem_seqno_wrap.c:328:3: error: implicit declaration of function ‘kill’ [-Werror=implicit-function-declaration]

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 tests/gem_seqno_wrap.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/gem_seqno_wrap.c b/tests/gem_seqno_wrap.c
index 2b92cb8..f881245 100644
--- a/tests/gem_seqno_wrap.c
+++ b/tests/gem_seqno_wrap.c
@@ -40,6 +40,7 @@
 #include <sys/wait.h>
 #include <limits.h>
 #include <wordexp.h>
+#include <signal.h>
 
 #include "i915_drm.h"
 #include "intel_bufmgr.h"
-- 
1.7.9.2



More information about the xorg-devel mailing list