#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)