Mesa (master): glx: Add missing include for XCB, fixing crash on 64-bit.

Eric Anholt anholt at kemper.freedesktop.org
Mon Nov 24 19:41:29 UTC 2008


Module: Mesa
Branch: master
Commit: d52e8543b61ec5b8b8d9b1574a28ae2472fe4c56
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d52e8543b61ec5b8b8d9b1574a28ae2472fe4c56

Author: Bernd Buschinski <b.buschinski at web.de>
Date:   Mon Nov 24 11:39:07 2008 -0800

glx: Add missing include for XCB, fixing crash on 64-bit.

Bug #18689

---

 src/glx/x11/single2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/glx/x11/single2.c b/src/glx/x11/single2.c
index b008c69..83a2505 100644
--- a/src/glx/x11/single2.c
+++ b/src/glx/x11/single2.c
@@ -40,6 +40,7 @@
 #ifdef USE_XCB
 #include <xcb/xcb.h>
 #include <xcb/glx.h>
+#include <X11/Xlib-xcb.h>
 #endif /* USE_XCB */
 
 




More information about the mesa-commit mailing list