From bcf7025f14af5c3ac778ffc794b7c6d862c1b757 Mon Sep 17 00:00:00 2001 From: Tait Hoyem Date: Sun, 16 Oct 2022 15:10:24 -0600 Subject: [PATCH] Fix missing size_t on latest stable --- speech-dispatcher/Cargo.toml | 3 ++- speech-dispatcher/src/lib.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/speech-dispatcher/Cargo.toml b/speech-dispatcher/Cargo.toml index b49e2f5..f33d6a1 100644 --- a/speech-dispatcher/Cargo.toml +++ b/speech-dispatcher/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "speech-dispatcher" -version = "0.15.0" +version = "0.15.1" authors = ["Nolan Darilek "] repository = "https://gitlab.com/ndarilek/speech-dispatcher-rs" description = "Rusty interface to the speech-dispatcher speech synthesis library" @@ -15,6 +15,7 @@ default = ["0_11"] [dependencies] lazy_static = "1" speech-dispatcher-sys = { version = "0.7", path = "../speech-dispatcher-sys" } +libc = "0.2.125" [package.metadata.docs.rs] no-default-features = true diff --git a/speech-dispatcher/src/lib.rs b/speech-dispatcher/src/lib.rs index 4eb9a18..9381911 100644 --- a/speech-dispatcher/src/lib.rs +++ b/speech-dispatcher/src/lib.rs @@ -1,5 +1,6 @@ #![allow(non_upper_case_globals)] +use libc::size_t; use std::{ collections::HashMap, ffi::{CStr, CString},