Blob Blame History Raw
From 955c0003ca923dea76e9c953cda871d4209f028b Mon Sep 17 00:00:00 2001
From: Fabian Homborg <FHomborg@gmail.com>
Date: Tue, 2 Mar 2021 15:27:13 +0100
Subject: [PATCH] fd_monitor: Explicity include <thread>

Might fix issues with gcc 11.0.1.

See #7764.
---
 src/fd_monitor.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/fd_monitor.cpp b/src/fd_monitor.cpp
index a55e9c55f..2ed2ca4de 100644
--- a/src/fd_monitor.cpp
+++ b/src/fd_monitor.cpp
@@ -4,6 +4,7 @@
 #include "fd_monitor.h"
 
 #include <cstring>
+#include <thread> //this_thread::sleep_for
 
 #include "flog.h"
 #include "io.h"
-- 
2.29.2