util/disk_cache: actually enforce cache size
[mesa.git] / src / glx / glx_error.h
index 19be38b44253b68ecff93b6f0c8e1c779e023bb4..5d3992672e00c869cca01e0bf7db5a731073a211 100644 (file)
 #include <stdbool.h>
 #include <stdint.h>
 #include <X11/Xlib.h>
+#include <xcb/xcb.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 void __glXSendError(Display * dpy, int_fast8_t errorCode,
                    uint_fast32_t resourceID, uint_fast16_t minorCode,
                    bool coreX11error);
+
+_X_HIDDEN void __glXSendErrorForXcb(Display * dpy,
+                                   const xcb_generic_error_t *err);
+
+#ifdef __cplusplus
+}
+#endif