Skip to content

Commit 3924bcd

Browse files
authored
Add missing include to http_server.h (#1094)
std::this_thread::yield( ) requires <thread> to be included. This may have been implicit but fails on current Apple Clang. Added missing include.
1 parent a79123f commit 3924bcd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/crow/http_server.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <cstdint>
2121
#include <future>
2222
#include <memory>
23+
#include <thread>
2324
#include <vector>
2425

2526
#include "crow/version.h"

0 commit comments

Comments
 (0)