From c8a3ff1d8f72da95fb7ef34ea899356ae771a433 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Tue, 16 Mar 2021 20:53:55 +0100 Subject: [PATCH] fix(clipboard): fix compilation error on X11 --- espanso-clipboard/src/x11/native/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espanso-clipboard/src/x11/native/mod.rs b/espanso-clipboard/src/x11/native/mod.rs index 6535c07..5bbfbf0 100644 --- a/espanso-clipboard/src/x11/native/mod.rs +++ b/espanso-clipboard/src/x11/native/mod.rs @@ -21,7 +21,7 @@ use std::{ffi::{CStr, CString}, io::Read, path::PathBuf}; use crate::Clipboard; use anyhow::Result; -use libc::c_char; +use std::os::raw::c_char; use thiserror::Error; mod ffi;