diff options
author | marha <marha@users.sourceforge.net> | 2009-07-12 18:20:04 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-12 18:20:04 +0000 |
commit | da8fe31a7ba4acf109097d5696ad0145b991cdfd (patch) | |
tree | 1c74d6f075702a73e557872f2a6f020ea4eb5432 /libX11/src/xcb_lock.c | |
parent | 6590f805a12779909cb8504c230fa367148fe38c (diff) | |
parent | 529dcfd0858d75cb3c87c73cb0f81dd20bbb9230 (diff) | |
download | vcxsrv-da8fe31a7ba4acf109097d5696ad0145b991cdfd.tar.gz vcxsrv-da8fe31a7ba4acf109097d5696ad0145b991cdfd.tar.bz2 vcxsrv-da8fe31a7ba4acf109097d5696ad0145b991cdfd.zip |
Changes for VC compilation
Diffstat (limited to 'libX11/src/xcb_lock.c')
-rw-r--r-- | libX11/src/xcb_lock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libX11/src/xcb_lock.c b/libX11/src/xcb_lock.c index 71b238354..10ff366b8 100644 --- a/libX11/src/xcb_lock.c +++ b/libX11/src/xcb_lock.c @@ -11,6 +11,7 @@ #include <xcb/xcbext.h> #include <xcb/xcbxlib.h> +#include <X11\Xtrans\Xtrans.h> #include <pthread.h> static void _XCBLockDisplay(Display *dpy) @@ -97,7 +98,7 @@ static size_t request_length(struct iovec *vec) return len << 2; } -static inline int issue_complete_request(Display *dpy, int veclen, struct iovec *vec) +static __inline int issue_complete_request(Display *dpy, int veclen, struct iovec *vec) { xcb_protocol_request_t xcb_req = { 0 }; unsigned int sequence; @@ -163,6 +164,7 @@ static inline int issue_complete_request(Display *dpy, int veclen, struct iovec req->next = 0; req->waiters = -1; req->sequence = sequence; + xcondition_init(&(req->condition)); //MH *dpy->xcb->pending_requests_tail = req; dpy->xcb->pending_requests_tail = &req->next; } |