gallium/radeon: fix missing winsys include in pipe-loader.
authorKnut Andre Tidemann <Knut.Andre.Tidemann@jotron.com>
Fri, 11 Apr 2014 06:59:11 +0000 (08:59 +0200)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 11 Apr 2014 23:22:17 +0000 (19:22 -0400)
The commit 3b0b44f7def0acb4f7a7aef086c0bece321418a6 introduced a build
error:

error: dereferencing pointer to incomplete type

This patch fixes this issue in all the affected files.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/targets/egl-static/egl_pipe.c
src/gallium/targets/pipe-loader/pipe_r300.c
src/gallium/targets/pipe-loader/pipe_r600.c
src/gallium/targets/pipe-loader/pipe_radeonsi.c

index ce734fb47110becc984e6c49ca5efd132a827802..a61cde81ee8ea8657f0a7fae03fc7501aac4c2ee 100644 (file)
@@ -38,6 +38,7 @@
 /* for nouveau */
 #include "nouveau/drm/nouveau_drm_public.h"
 /* for r300 */
+#include "radeon/drm/radeon_winsys.h"
 #include "radeon/drm/radeon_drm_public.h"
 #include "r300/r300_public.h"
 /* for r600 */
index 388b091f1447a289c0bd9565484a505ff550db5f..6ab7e7491f983bf5470f0d9b4669c24ef2ce0a4b 100644 (file)
@@ -1,7 +1,7 @@
-
 #include "target-helpers/inline_debug_helper.h"
 #include "state_tracker/drm_driver.h"
 #include "radeon/drm/radeon_drm_public.h"
+#include "radeon/drm/radeon_winsys.h"
 #include "r300/r300_public.h"
 
 static struct pipe_screen *
index 0c590875784977a6b61025124fca3feaa82ed374..2e6bd42c22d2fc88981862bba01f565689b6a9aa 100644 (file)
@@ -1,6 +1,7 @@
 #include "state_tracker/drm_driver.h"
 #include "target-helpers/inline_debug_helper.h"
 #include "radeon/drm/radeon_drm_public.h"
+#include "radeon/drm/radeon_winsys.h"
 #include "r600/r600_public.h"
 
 static struct pipe_screen *
index 406ba1e1ddb30520fb39fa38c6c9bc803d58d9de..9a8feae0f0083dfe89bad8af77474847b330f3e1 100644 (file)
@@ -1,6 +1,7 @@
 #include "state_tracker/drm_driver.h"
 #include "target-helpers/inline_debug_helper.h"
 #include "radeon/drm/radeon_drm_public.h"
+#include "radeon/drm/radeon_winsys.h"
 #include "radeonsi/si_public.h"
 
 static struct pipe_screen *