From 4102e1b47d99a06b9155106b4cf42ad5fc3be449 Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 22 Dec 2025 10:16:15 +0000 Subject: [PATCH] only import needed types --- src/header/glob/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/header/glob/mod.rs b/src/header/glob/mod.rs index 3606f4aa3f..ff7995d0a1 100644 --- a/src/header/glob/mod.rs +++ b/src/header/glob/mod.rs @@ -16,7 +16,10 @@ use crate::{ fnmatch::{FNM_NOESCAPE, FNM_PERIOD, fnmatch}, sys_stat::{S_IFDIR, S_IFLNK, S_IFMT, stat}, }, - platform::{self, types::*}, + platform::{ + self, + types::{c_char, c_int, c_uchar, c_void, size_t}, + }, }; // Cause glob() to return on error