]>
Commit | Line | Data |
---|---|---|
7aff8a41 JP |
1 | From bd98844ec4206ee34b04f0609995d2e20b83196d Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com> | |
3 | Date: Tue, 1 Nov 2022 13:06:19 +0100 | |
4 | Subject: [PATCH] Added include for nanosleep | |
5 | MIME-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
bb2938e8 | 8 | |
7aff8a41 JP |
9 | Fixed compilation on Fedora 38. Maybe better fix is to switch |
10 | to std::this_thread::sleep_for. | |
bb2938e8 | 11 | |
7aff8a41 | 12 | Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com> |
bb2938e8 | 13 | --- |
7aff8a41 JP |
14 | lunchbox/sleep.cpp | 1 + |
15 | 1 file changed, 1 insertion(+) | |
bb2938e8 | 16 | |
7aff8a41 JP |
17 | diff --git a/lunchbox/sleep.cpp b/lunchbox/sleep.cpp |
18 | index 14aa0523..885c47a0 100644 | |
19 | --- a/lunchbox/sleep.cpp | |
20 | +++ b/lunchbox/sleep.cpp | |
21 | @@ -19,6 +19,7 @@ | |
22 | ||
23 | #include "os.h" | |
24 | #include "time.h" | |
25 | +#include <time.h> | |
26 | ||
27 | namespace lunchbox | |
28 | { |