Module: Mesa Branch: master Commit: b2d6375e6a64ac12f35f8a611ebf2016e4a6dd42 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2d6375e6a64ac12f35f8a611ebf2016e4a6dd42
Author: Benjamin Franzke <[email protected]> Date: Sat Jul 2 13:41:35 2011 +0200 egl_dri2: Fix compilation if udev devel files are not installed NOTE: This is a candidate for the 7.11 branch. --- src/egl/drivers/dri2/egl_dri2.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 83ea21e..3854200 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -44,7 +44,9 @@ #include <GL/gl.h> #include <GL/internal/dri_interface.h> +#ifdef HAVE_DRM_PLATFORM #include <gbm_driint.h> +#endif #include "eglconfig.h" #include "eglcontext.h" @@ -82,7 +84,9 @@ struct dri2_egl_display __DRIimageExtension *image; int fd; +#ifdef HAVE_DRM_PLATFORM struct gbm_dri_device *gbm_dri; +#endif char *device_name; char *driver_name; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
