summaryrefslogtreecommitdiff
path: root/tests/pm_rps.c
diff options
context:
space:
mode:
authorTim Gore <tim.gore@intel.com>2014-07-24 14:54:27 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-25 09:36:10 +0200
commit72b12636492cdf1c97eb1fec313165720f741cca (patch)
tree04799adb4a548891a89db32cb3ff4a6ee0b48f3f /tests/pm_rps.c
parent93d07ab8986f383a679faffc795c71a955f67945 (diff)
intel-gpu-tools: add sys/wait.h to pm_rps.c
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>
Diffstat (limited to 'tests/pm_rps.c')
-rw-r--r--tests/pm_rps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pm_rps.c b/tests/pm_rps.c
index 8593e364..5264436c 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"