summaryrefslogtreecommitdiffstats
path: root/kscd/kcompactdisc.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-09-21 12:37:37 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-21 12:37:37 +0200
commit830ea2b69faa81a8b0485a28fc329fd93d67ad46 (patch)
treee892119e70a65600db800b93e9014f75a2870b0a /kscd/kcompactdisc.cpp
parent11485aa4a296406f2d6a96d7f30d09d416d91f03 (diff)
downloadtdemultimedia-830ea2b69faa81a8b0485a28fc329fd93d67ad46.tar.gz
tdemultimedia-830ea2b69faa81a8b0485a28fc329fd93d67ad46.zip
Replace deprecated ustat using fstatfs
This resolves FTBFS with glibc 2.28 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kscd/kcompactdisc.cpp')
-rw-r--r--kscd/kcompactdisc.cpp5
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>