diff options
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/qpa/xcb/xcb.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.tests/qpa/xcb/xcb.cpp b/config.tests/qpa/xcb/xcb.cpp index c594d4f38b..6037f15e82 100644 --- a/config.tests/qpa/xcb/xcb.cpp +++ b/config.tests/qpa/xcb/xcb.cpp @@ -58,5 +58,8 @@ int main(int, char **) xcb_connection_t *connection = xcb_connect("", &primaryScreen); + // This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY. + int xcbAtomPrimary = XCB_ATOM_PRIMARY; + return 0; } |