mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
libstore: Include missing header to fix compile with libc++ 20
https://en.cppreference.com/w/cpp/thread.html src/libstore/gc.cc:121:39: error: no member named 'sleep_for' in namespace 'std::this_thread' 121 | std::this_thread::sleep_for(std::chrono::milliseconds(100)); | ~~~~~~~~~~~~~~~~~~^
This commit is contained in:
parent
251479bdda
commit
140b08ae3e
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
#include <boost/unordered/unordered_flat_set.hpp>
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
#include <thread>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue