summaryrefslogtreecommitdiffstats
path: root/kscd
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2024-04-14 13:04:21 +0200
committerFrançois Andriot <francois.andriot@free.fr>2024-04-15 19:38:04 +0200
commitfcfa466de299d0eefef0c5597131f1a6b70f939c (patch)
treefbb78862b0657b32500a40a284acbfc61bde114e /kscd
parent39912346d4b3a834362fed5099ff314b181e2aae (diff)
downloadtdemultimedia-fcfa466de299d0eefef0c5597131f1a6b70f939c.tar.gz
tdemultimedia-fcfa466de299d0eefef0c5597131f1a6b70f939c.zip
Fix issue 74 (FTBFS on Fedora 40)
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'kscd')
-rw-r--r--kscd/libwm/ConfigureChecks.cmake1
-rw-r--r--kscd/libwm/plat_linux_cdda.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/kscd/libwm/ConfigureChecks.cmake b/kscd/libwm/ConfigureChecks.cmake
index 31ce9815..b6a12244 100644
--- a/kscd/libwm/ConfigureChecks.cmake
+++ b/kscd/libwm/ConfigureChecks.cmake
@@ -28,6 +28,7 @@ if( WITH_KSCD_CDDA AND NOT BUILD_CDDA )
#include <linux/cdrom.h>
#undef asm
#undef inline
+#include <sys/ioctl.h>
int main() {
#if defined(__linux__)
diff --git a/kscd/libwm/plat_linux_cdda.c b/kscd/libwm/plat_linux_cdda.c
index 22f24a9d..dc634f3f 100644
--- a/kscd/libwm/plat_linux_cdda.c
+++ b/kscd/libwm/plat_linux_cdda.c
@@ -25,6 +25,7 @@
* Linux CDDA functions. Derived from the SUN module.
*/
+#include <stdlib.h>
#include "include/wm_cdda.h"
#if defined(__linux__) && defined(BUILD_CDDA)