libao: fix build with gcc14

This commit is contained in:
oreo639 2025-03-16 16:24:11 -07:00
parent a40788b2db
commit b9c6b010a2
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,21 @@
From 1f998f5d6d77674dad01b181811638578ad68242 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tmatth@videolan.org>
Date: Sun, 15 Jan 2017 12:15:07 -0500
Subject: [PATCH] pulse: fix missing include warning for nanosleep
---
src/plugins/pulse/ao_pulse.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/pulse/ao_pulse.c b/src/plugins/pulse/ao_pulse.c
index 9835273..2d10d57 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>

View file

@ -1,7 +1,7 @@
# Template file for 'libao'
pkgname=libao
version=1.2.2
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable-alsa-mmap"
hostmakedepends="automake libtool pkg-config"