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

Daniel Vetter daniel at ffwll.ch
Sun Dec 16 11:57:38 PST 2012


On Sun, Dec 16, 2012 at 10:38:54AM -0800, Alan Coopersmith wrote:
> 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>

Applied, thanks.
-Daniel
> ---
>  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
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the xorg-devel mailing list