Skip to content

Commit a4ac424

Browse files
committed
Merge #113: Add missing include to util.h
6929c40 Add missing include to util.h (fanquake) Pull request description: 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`. ACKs for top commit: ryanofsky: Code review ACK 6929c40, thanks for the fix hebasto: ACK 6929c40, tested on Ubuntu 23.10 by building Bitcoin Core with depends using the following patch: Tree-SHA512: 9ad6097bd1f3e0f7ee213e5c5bd17be56fa06c23ff25bbcb0122c40ecff71411417826946fd9c4c1d7ef302d7fd771a79fb81f2d240fc22e47d8ac2f40cce85e
2 parents f5a4957 + 6929c40 commit a4ac424

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)