diff mbox

intel-gpu-tools: add sys/wait.h to pm_rps.c

Message ID 1406210067-6569-1-git-send-email-tim.gore@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

tim.gore@intel.com July 24, 2014, 1:54 p.m. UTC
From: Tim Gore <tim.gore@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@intel.com>
---
 tests/pm_rps.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Vetter July 25, 2014, 7:36 a.m. UTC | #1
On Thu, Jul 24, 2014 at 02:54:27PM +0100, tim.gore@intel.com wrote:
> From: Tim Gore <tim.gore@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@intel.com>

Merged, thanks.
-Daniel
> ---
>  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
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

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"