Skip to content
Snippets Groups Projects
Commit a8907c60 authored by Benjamin Franzke's avatar Benjamin Franzke :grinning:
Browse files

egl_dri2: Fix compilation if udev devel files are not installed

NOTE: This is a candidate for the 7.11 branch.
(cherry picked from commit b2d6375e)
parent 89af428a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment