Whamcloud - gitweb
Many files:
[tools/e2fsprogs.git] / lib / ext2fs / getsize.c
index c9fc00a..0246545 100644 (file)
@@ -53,7 +53,9 @@ errcode_t ext2fs_get_device_size(const char *file, int blocksize,
                                 blk_t *retblocks)
 {
        int     fd;
+#ifdef BLKGETSIZE
        long    size;
+#endif
        ext2_loff_t high, low;
 #ifdef FDGETPRM
        struct floppy_struct this_floppy;