diff options
author | José Fonseca <[email protected]> | 2014-04-11 16:46:02 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-04-11 16:46:02 +0100 |
commit | 9d36a8d4d27230dd91d4c4002a781edeec22d044 (patch) | |
tree | aa274751ff3df9a2b6f487ee21b3a5f092e18410 /src/gallium/targets | |
parent | 5ac3435a47c616286c5a5ee16148f829493c2127 (diff) |
egl-static: Fix missing radeon_surface.h includes.
Fixes
fatal error: radeon_surface.h: No such file or directory
when libdrm is not present, or non-Linux OSes.
Trivial.
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/egl-static/egl_pipe.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/egl_pipe.c b/src/gallium/targets/egl-static/egl_pipe.c index a61cde81ee8..1c369199674 100644 --- a/src/gallium/targets/egl-static/egl_pipe.c +++ b/src/gallium/targets/egl-static/egl_pipe.c @@ -29,27 +29,43 @@ #include "egl_pipe.h" /* for i915 */ +#if _EGL_PIPE_I915 #include "i915/drm/i915_drm_public.h" #include "i915/i915_public.h" #include "target-helpers/inline_wrapper_sw_helper.h" +#endif /* for ilo */ +#if _EGL_PIPE_ILO #include "intel/intel_winsys.h" #include "ilo/ilo_public.h" +#endif /* for nouveau */ +#if _EGL_PIPE_NOUVEAU #include "nouveau/drm/nouveau_drm_public.h" +#endif /* for r300 */ +#if _EGL_PIPE_R300 #include "radeon/drm/radeon_winsys.h" #include "radeon/drm/radeon_drm_public.h" #include "r300/r300_public.h" +#endif /* for r600 */ +#if _EGL_PIPE_R600 #include "r600/r600_public.h" +#endif /* for radeonsi */ +#if _EGL_PIPE_RADEONSI #include "radeonsi/si_public.h" +#endif /* for vmwgfx */ +#if _EGL_PIPE_VMWGFX #include "svga/drm/svga_drm_public.h" #include "svga/svga_public.h" +#endif /* for freedreno */ +#if _EGL_PIPE_FREEDRENO #include "freedreno/drm/freedreno_drm_public.h" +#endif static struct pipe_screen * pipe_i915_create_screen(int fd) |