diff --git a/cairo/src/xcb.rs b/cairo/src/xcb.rs index d542639f1f7c..5b0f4f6e5704 100644 --- a/cairo/src/xcb.rs +++ b/cairo/src/xcb.rs @@ -7,6 +7,9 @@ use std::{ops::Deref, ptr}; #[cfg(feature = "use_glib")] use glib::translate::*; +#[cfg(not(feature = "use_glib"))] +use crate::Borrowed; + use crate::{ffi, Error, Surface, SurfaceType}; #[derive(Debug)]