libX11 missing include

Daniel Stone daniel at freedesktop.org
Wed May 10 08:08:08 PDT 2006


On Wed, May 10, 2006 at 04:54:40PM +0200, Matthias Hopf wrote:
> 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.

Argh.  Had that commit kicking around my tree, and it only got pushed
when I fixed a typo in another file.  Stupid xfree vs Xfree (why we need
our own allocator all still is beyond me ...).  Fixed now.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060510/20ce7e0e/attachment.pgp>


More information about the xorg mailing list