intel-gpu-tools: add sys/wait.h to pm_rps.c
authorTim Gore <tim.gore@intel.com>
Thu, 24 Jul 2014 13:54:27 +0000 (14:54 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Jul 2014 07:36:10 +0000 (09:36 +0200)
commit 745945546f7366a413a3a51a37f90caa3a227b1d
breaks the build under Android because some of the
macros used in pm_rps.c are defined in sys/wait.h
which is not included.

Signed-off-by: Tim Gore <tim.gore@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_rps.c

index 8593e36..5264436 100644 (file)
@@ -34,6 +34,7 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <errno.h>
+#include <sys/wait.h>
 
 #include "drmtest.h"
 #include "intel_io.h"