Fix compilation with new nightly

This commit is contained in:
Jeremy Soller
2025-01-14 12:24:33 -07:00
parent f9590c4b17
commit 5a69226af6
+1 -2
View File
@@ -41,9 +41,8 @@ pub const GLOB_ABORTED: c_int = 2;
// Pattern does not match any existing pathname, and GLOB_NOCHECK was not set
pub const GLOB_NOMATCH: c_int = 3;
#[linkage = "weak"] // GNU prefers its own glob e.g. in Make
#[repr(C)]
#[derive(Debug)]
#[repr(C)]
pub struct glob_t {
pub gl_pathc: size_t, // Count of paths matched by pattern (POSIX required field)
pub gl_offs: size_t, // Slots to reserve at the beginning of gl_pathv (POSIX required field)