libX11 missing include

Matthias Hopf mhopf at suse.de
Wed May 10 07:54:40 PDT 2006


I assume the following include is currently missing in libX11:


diff --git a/src/xkb/XKBMisc.c b/src/xkb/XKBMisc.c
index 11715b2..fe583b0 100644
--- a/src/xkb/XKBMisc.c
+++ b/src/xkb/XKBMisc.c
@@ -41,6 +41,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <X11/extensions/XKBproto.h>
 #include <X11/keysym.h>
 #include "XKBlibint.h"
+#include "locking.h"
 
 #else 
 

Otherwise it will have a missing reference to xfree() (as opposed to Xfree()),
at least when built w/o xcb.
I'm not sure whether this include should also be in the
#ifdef XKB_IN_SERVER case...

If nobody objects, I will push this.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de



More information about the xorg mailing list