diff --git a/include/bits/stdio.h b/include/bits/stdio.h index 0c14171ce4..63957176c8 100644 --- a/include/bits/stdio.h +++ b/include/bits/stdio.h @@ -9,5 +9,9 @@ typedef struct FILE FILE; // A typedef doesn't suffice, because libgmp uses this definition to check if // STDIO was loaded. #define FILE FILE +// Likewise, stdin, stdout, and stderr are expected to be macros. +#define stdin stdin +#define stdout stdout +#define stderr stderr #endif /* _BITS_STDIO_H */ diff --git a/src/header/regex/mod.rs b/src/header/regex/mod.rs index e73ecb4830..2aa348c27b 100644 --- a/src/header/regex/mod.rs +++ b/src/header/regex/mod.rs @@ -35,6 +35,7 @@ pub const REG_NOSUB: c_int = 4; pub const REG_NEWLINE: c_int = 8; pub const REG_NOTBOL: c_int = 16; pub const REG_NOTEOL: c_int = 32; +pub const REG_MINIMAL: c_int = 64; pub const REG_NOMATCH: c_int = 1; pub const REG_BADPAT: c_int = 2;