Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
mesa
Commits
b2d6375e
Commit
b2d6375e
authored
Jul 02, 2011
by
Benjamin Franzke
😀
Browse files
egl_dri2: Fix compilation if udev devel files are not installed
NOTE: This is a candidate for the 7.11 branch.
parent
f2001df5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/egl/drivers/dri2/egl_dri2.h
View file @
b2d6375e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment