libao/libao-nanosleep.patch
Petr Šabata 531b30ba1e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/libao#52b9e1e28c30cc4399b46c908e753b52d1468102
2020-10-15 15:32:04 +02:00

19 lines
534 B
Diff

commit 1f998f5d6d77674dad01b181811638578ad68242
Author: Tristan Matthews <tmatth@videolan.org>
Date: Sun Jan 15 12:15:07 2017 -0500
pulse: fix missing include warning for nanosleep
diff --git a/src/plugins/pulse/ao_pulse.c b/src/plugins/pulse/ao_pulse.c
index 9835273b53c35bf9..2d10d57f17f6bdd6 100644
--- a/src/plugins/pulse/ao_pulse.c
+++ b/src/plugins/pulse/ao_pulse.c
@@ -30,6 +30,7 @@
#include <assert.h>
#include <string.h>
#include <signal.h>
+#include <time.h>
#include <limits.h>
#include <pulse/pulseaudio.h>