summaryrefslogtreecommitdiff
path: root/libao-nanosleep.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 02:21:36 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 02:21:36 +0000
commit612b72b734ae425b9beedeba19f16758f8dd554c (patch)
tree1c6812d5af230f12581c262afb7a66350d2cee6b /libao-nanosleep.patch
parente5efe7dbfc5ba6048de50b0c44c04b4f1fbb2281 (diff)
automatic import of libaoopeneuler24.03_LTS
Diffstat (limited to 'libao-nanosleep.patch')
-rw-r--r--libao-nanosleep.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libao-nanosleep.patch b/libao-nanosleep.patch
new file mode 100644
index 0000000..c8ceb05
--- /dev/null
+++ b/libao-nanosleep.patch
@@ -0,0 +1,18 @@
+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>