Skip to contentSkip to conversation

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

PATCH Applied [email protected] 2 participants 2 messages Jul 24, 2014 – Jul 25, 2014

lore
Share & tools
lore
#0 lore raw

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

From: Tim Gore <[email protected]>

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.

---
 tests/pm_rps.c | 1 +
 1 file changed, 1 insertion(+)
tests/pm_rps.c +1 -0
index 8593e36..5264436 100644
@@ -34,6 +34,7 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <errno.h>
+#include <sys/wait.h>
 
 #include "drmtest.h"
 #include "intel_io.h"
Signature · 1 line
1.9.2
#1 lore raw
Quoted 8 lines · On Thu, Jul 24, 2014 at 02:54:27PM +0100, [email protected] wrote:

From: Tim Gore <[email protected]>

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.

Merged, thanks.
-Daniel

Quoted 23 lines
---
 tests/pm_rps.c | 1 +
 1 file changed, 1 insertion(+)
tests/pm_rps.c +1 -0
index 8593e36..5264436 100644
@@ -34,6 +34,7 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <errno.h>
+#include <sys/wait.h>
 
 #include "drmtest.h"
 #include "intel_io.h"
Signature · 6 lines
1.9.2

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch