aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/src_glx_dri_common.h.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/src_glx_dri_common.h.diff')
-rw-r--r--debian/patches/src_glx_dri_common.h.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/src_glx_dri_common.h.diff b/debian/patches/src_glx_dri_common.h.diff
new file mode 100644
index 00000000000..895f930ca87
--- /dev/null
+++ b/debian/patches/src_glx_dri_common.h.diff
@@ -0,0 +1,13 @@
+--- a/src/glx/dri_common.h 2020-04-30 00:48:24.000000000 +0200
++++ b/src/glx/dri_common.h 2020-05-10 15:22:44.000000000 +0200
+@@ -55,6 +55,10 @@
+
+ extern void driDestroyConfigs(const __DRIconfig **configs);
+
++#ifndef __GLXDRIdrawable
++typedef struct __GLXDRIdrawableRec __GLXDRIdrawable;
++#endif
++
+ extern __GLXDRIdrawable *
+ driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);
+