#include "xregex.h"
#include "alloc.h"
+#include "bfstd.h"
#include "config.h"
#include "diag.h"
#include "sanity.h"
char *bfs_regerror(const struct bfs_regex *regex) {
if (!regex) {
- return strdup(strerror(ENOMEM));
+ return strdup(xstrerror(ENOMEM));
}
#if BFS_USE_ONIGURUMA