From 6929c40913ce2bbee58754f2984ddd7ec97b44ea Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 27 Sep 2024 10:19:11 +0100 Subject: [PATCH] Add missing include to util.h Fixes: ```bash mp/util.h:207:20: error: no template named 'function' in namespace 'std'; did you mean 'kj::Function'? 207 | using FdToArgsFn = std::function(int fd)>; | ^~~~~~~~~~~~~ | kj::Function ``` when compiling with libc++ & `_LIBCPP_REMOVE_TRANSITIVE_INCLUDES`. --- include/mp/util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mp/util.h b/include/mp/util.h index 6fc92778..66491477 100644 --- a/include/mp/util.h +++ b/include/mp/util.h @@ -7,6 +7,7 @@ #include #include +#include #include #include #include