From: Andreas Müller Date: Sun, 10 Mar 2013 21:43:48 +0000 (+0100) Subject: SDL_x11sym.h: add symbols for _XGetRequest X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af1392358aa181d48c4d9676daac4e2206c49bd;p=sdl_omap.git SDL_x11sym.h: add symbols for _XGetRequest While intoducing to yocto few libraries complain: | /home/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libSDL.so: undefined reference to `_XGetRequest' This is a backport from libsdl-1.2.15. Signed-off-by: Andreas M?ller --- diff --git a/src/video/x11/SDL_x11sym.h b/src/video/x11/SDL_x11sym.h index 3dfa146..f1e7841 100644 --- a/src/video/x11/SDL_x11sym.h +++ b/src/video/x11/SDL_x11sym.h @@ -169,6 +169,12 @@ SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,da SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) #endif +/* + * libX11 1.4.99.1 added _XGetRequest, and macros use it behind the scenes. + */ +SDL_X11_MODULE(XGETREQUEST) +SDL_X11_SYM(void *,_XGetRequest,(Display* a,CARD8 b,size_t c),(a,b,c),return) + /* * These only show up on some variants of Unix. */