X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=7c8f33140614240d9021482b0d09fb3f36c0540c;hb=6fb661f3ff2fca342b4ea76d5a583c5e4f53e076;hp=3b51d2ed261218f20f425cccf7c54b9692a988ac;hpb=ed823bf65192a72f8c3060698c9bded9f77d49c2;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index 3b51d2e..7c8f331 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -32,6 +32,10 @@ #include "config.h" #endif +#ifdef GCC_HAS_VISIBILITY +#pragma GCC visibility push(hidden) +#endif + enum workarounds { WORKAROUND_NONE, WORKAROUND_GLX_GET_FB_CONFIGS_BUG @@ -86,6 +90,7 @@ typedef struct _xcb_in { char queue[4096]; int queue_len; + unsigned int request_expected; unsigned int request_read; unsigned int request_completed; struct reply_list *current_reply; @@ -153,4 +158,9 @@ struct XCBConnection { }; int _xcb_conn_wait(XCBConnection *c, const int should_write, pthread_cond_t *cond); + +#ifdef GCC_HAS_VISIBILITY +#pragma GCC visibility pop +#endif + #endif