From 82f04755bffb7be21be8c1e37007fd71c3d6a751 Mon Sep 17 00:00:00 2001 From: Jonah Caplan Date: Sat, 16 Oct 2021 14:21:11 -0400 Subject: [PATCH] hopefully fix build error on windows --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 43a6e2c..66862e3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,6 +33,8 @@ use crate::filter::OwnerFilter; use crate::filter::{SizeFilter, TimeFilter}; use crate::regex_helper::{pattern_has_uppercase_char, pattern_matches_strings_with_leading_dot}; +extern crate libc; + // We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481 // FIXME: re-enable jemalloc on macOS, see comment in Cargo.toml file for more infos #[cfg(all(