diff --git a/BUILD.gn b/BUILD.gn index 7ec9577..11f1161 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -13,7 +13,10 @@ config("vulkan_headers_config") { defines += [ "VK_USE_PLATFORM_WIN32_KHR" ] } if (defined(vulkan_use_x11) && vulkan_use_x11) { - defines += [ "VK_USE_PLATFORM_XCB_KHR" ] + defines += [ + "VK_USE_PLATFORM_XCB_KHR", + "VK_USE_PLATFORM_XLIB_KHR", + ] } if (defined(vulkan_use_wayland) && vulkan_use_wayland) { defines += [ "VK_USE_PLATFORM_WAYLAND_KHR" ]