commit | c986ecddb86af5256397236114ddea00600a5327 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Tue Jul 29 13:37:55 2025 -0400 |
committer | Russ Cox <rsc@swtch.com> | Wed Jul 30 09:29:05 2025 -0700 |
tree | a85794287fd3a05c05d5c1e4c859d39756de7335 | |
parent | 2a029e28d3080e4718581649ba9faad5347c3ff9 [diff] |
re2: #include <cstring> in prog.h <cstring> provides memchr. Change-Id: I7d6ef3d0f6c696d5a13353eb80b2a84f6e23fa7f Reviewed-on: https://code-review.googlesource.com/c/re2/+/63772 Reviewed-by: Alan Donovan <adonovan@google.com>
diff --git a/re2/prog.h b/re2/prog.h index d0889bd..801f8b9 100644 --- a/re2/prog.h +++ b/re2/prog.h
@@ -11,6 +11,7 @@ #include <stdint.h> +#include <cstring> #include <functional> #include <string> #include <type_traits>