diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-09-21 12:37:37 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-09-21 12:39:15 +0200 |
commit | c9b52332041c428013c496558800c419016e50f9 (patch) | |
tree | 86734ff776a95abebc6a2c93b1a9f9a81b9bd801 /kscd/kcompactdisc.cpp | |
parent | 77ff405a13d73c0ad7d1408c6c0b1d5a913939ee (diff) | |
download | tdemultimedia-c9b52332041c428013c496558800c419016e50f9.tar.gz tdemultimedia-c9b52332041c428013c496558800c419016e50f9.zip |
Replace deprecated ustat using fstatfs
This resolves FTBFS with glibc 2.28
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 830ea2b69faa81a8b0485a28fc329fd93d67ad46)
Diffstat (limited to 'kscd/kcompactdisc.cpp')
-rw-r--r-- | kscd/kcompactdisc.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kscd/kcompactdisc.cpp b/kscd/kcompactdisc.cpp index 839a6577..e17fdaa7 100644 --- a/kscd/kcompactdisc.cpp +++ b/kscd/kcompactdisc.cpp @@ -42,11 +42,6 @@ #include <fcntl.h> #include <sys/ioctl.h> -/* this is for glibc 2.x which the ust structure in ustat.h not stat.h */ -#ifdef __GLIBC__ -#include <sys/ustat.h> -#endif - #ifdef __FreeBSD__ #include <sys/param.h> #include <sys/ucred.h> |