[Intel-gfx] [PATCH] intel-gpu-tools: add sys/wait.h to pm_rps.c

tim.gore at intel.com tim.gore at intel.com
Thu Jul 24 15:54:27 CEST 2014


From: Tim Gore <tim.gore at intel.com>

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 at intel.com>
---
 tests/pm_rps.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/pm_rps.c b/tests/pm_rps.c
index 8593e36..5264436 100644
--- a/tests/pm_rps.c
+++ b/tests/pm_rps.c
@@ -34,6 +34,7 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <errno.h>
+#include <sys/wait.h>
 
 #include "drmtest.h"
 #include "intel_io.h"
-- 
1.9.2




More information about the Intel-gfx mailing list