]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
DVR: another fix for filesystemId type
authorJaroslav Kysela <perex@perex.cz>
Fri, 11 Dec 2015 12:20:18 +0000 (13:20 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 11 Dec 2015 12:20:18 +0000 (13:20 +0100)
src/dvr/dvr_vfsmgr.c

index d1717ab8d7f35584fae61ec2cfac80811db3596b..483bfdc24c334c3be466ef402796ddf30722478a 100644 (file)
 #include <sys/vfs.h>
 #define statvfs statfs
 #define fstatvfs fstatfs
+#define tvh_fsid_t fsid_t
 #else
 #include <sys/statvfs.h>
+#define tvh_fsid_t unsigned long
 #endif
 
 #define MIB(v)   ((int64_t)v*((int64_t)1024*1024))
@@ -61,7 +63,7 @@ dvr_disk_space_cleanup(dvr_config_t *cfg)
   time_t stoptime;
   int64_t requiredBytes, maximalBytes, availBytes, usedBytes, diskBytes;
   int64_t clearedBytes = 0, fileSize;
-  uint64_t filesystemId;
+  tvh_fsid_t filesystemId;
   struct statvfs diskdata;
   struct tm tm;
   int loops = 0;