Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp
16461 views
1
--- src/Hyprsunset.cpp.orig 2025-07-24 17:32:18 UTC
2
+++ src/Hyprsunset.cpp
3
@@ -5,9 +5,22 @@
4
#include <mutex>
5
#include <thread>
6
#include <chrono>
7
+#include <signal.h>
8
#include <sys/poll.h>
9
#include <sys/timerfd.h>
10
+#include <unistd.h>
11
#include <wayland-client-core.h>
12
+
13
+#if defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE)
14
+#pragma comment(lib, "date-tz")
15
+#include <date/tz.h>
16
+namespace std {
17
+ namespace chrono {
18
+ using date::current_zone;
19
+ using date::zoned_time;
20
+ }
21
+}
22
+#endif
23
24
#define TIMESPEC_NSEC_PER_SEC 1000000000L
25
26
27