Skip to content

Commit 6929c40

Browse files
committed
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<std::vector<std::string>(int fd)>; | ^~~~~~~~~~~~~ | kj::Function ``` when compiling with libc++ & `_LIBCPP_REMOVE_TRANSITIVE_INCLUDES`.
1 parent f5a4957 commit 6929c40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/mp/util.h

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <capnp/schema.h>
99
#include <cstddef>
10+
#include <functional>
1011
#include <future>
1112
#include <kj/common.h>
1213
#include <kj/exception.h>

0 commit comments

Comments
 (0)