aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorbivsk <[email protected]>2024-09-28 08:46:31 -0400
committerGitHub <[email protected]>2024-09-28 13:46:31 +0100
commit6f313de952311282e82461a342c74ea702d9f13a (patch)
treeebc8e39f98bff1d7167d8b87b890d786d55f2470 /src
parent2cf6e7862a844ad96aa060d63f6774df7e2234a6 (diff)
downloadHyprland-6f313de952311282e82461a342c74ea702d9f13a.tar.gz
Hyprland-6f313de952311282e82461a342c74ea702d9f13a.zip
core: Fix Musl builds (#7934)
Musl does not include the internal type `__time_t`. Use `time_t` instead.
Diffstat (limited to 'src')
-rw-r--r--src/protocols/PresentationTime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/PresentationTime.cpp b/src/protocols/PresentationTime.cpp
index e1ff52cd..71f74cd5 100644
--- a/src/protocols/PresentationTime.cpp
+++ b/src/protocols/PresentationTime.cpp
@@ -58,8 +58,8 @@ void CPresentationFeedback::sendQueued(SP<CQueuedPresentationData> data, timespe
if (reportedFlags & Aquamarine::IOutput::AQ_OUTPUT_PRESENT_HW_COMPLETION)
flags |= WP_PRESENTATION_FEEDBACK_KIND_HW_COMPLETION;
- __time_t tv_sec = 0;
- if (sizeof(__time_t) > 4)
+ time_t tv_sec = 0;
+ if (sizeof(time_t) > 4)
tv_sec = when->tv_sec >> 32;
if (data->wasPresented)