diff options
author | François Andriot <francois.andriot@free.fr> | 2024-04-14 13:04:21 +0200 |
---|---|---|
committer | François Andriot <francois.andriot@free.fr> | 2024-04-15 19:38:04 +0200 |
commit | fcfa466de299d0eefef0c5597131f1a6b70f939c (patch) | |
tree | fbb78862b0657b32500a40a284acbfc61bde114e | |
parent | 39912346d4b3a834362fed5099ff314b181e2aae (diff) | |
download | tdemultimedia-fcfa466de299d0eefef0c5597131f1a6b70f939c.tar.gz tdemultimedia-fcfa466de299d0eefef0c5597131f1a6b70f939c.zip |
Fix issue 74 (FTBFS on Fedora 40)
Signed-off-by: François Andriot <francois.andriot@free.fr>
-rw-r--r-- | kscd/libwm/ConfigureChecks.cmake | 1 | ||||
-rw-r--r-- | kscd/libwm/plat_linux_cdda.c | 1 |
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) |