Fix compilation with new nightly
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user