tests/gem_seqno_wrap.c: include <signal.h> for definition of kill()
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sun, 16 Dec 2012 18:38:54 +0000 (10:38 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 16 Dec 2012 18:45:57 +0000 (19:45 +0100)
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@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_seqno_wrap.c

index 2b92cb8..f881245 100644 (file)
@@ -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"