diff --git a/compat.h b/compat.h index 55fbad48..8d71a9cf 100644 --- a/compat.h +++ b/compat.h @@ -463,6 +463,9 @@ int utf8proc_wctomb(char *, wchar_t); #ifdef NEED_FUZZING /* tmux.c */ #define main __weak main +#define regcomp(preg, pattern, cflags) (0) +#define regexec(preg, string, nmatch, pmatch, eflags) (REG_NOMATCH) +#define regfree(preg) ((void)0) #endif /* getopt.c */