diff options
-rw-r--r-- | lib/portability.h | 1 | ||||
-rw-r--r-- | toys/posix/grep.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/portability.h b/lib/portability.h index acc32fd4..05a449ee 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -6,6 +6,7 @@ // For musl #define _ALL_SOURCE +#include <regex.h> #ifndef REG_STARTEND #define REG_STARTEND 0 #endif diff --git a/toys/posix/grep.c b/toys/posix/grep.c index 1fa1a7c4..9f445fca 100644 --- a/toys/posix/grep.c +++ b/toys/posix/grep.c @@ -65,7 +65,6 @@ config FGREP #define FOR_grep #include "toys.h" -#include <regex.h> GLOBALS( long m, A, B, C; |