#ifndef __OSR_STATVFS_H__
#define __OSR_STATVFS_H__

/* Set up some undefined types */
#ifndef __UID_T
typedef unsigned short uid_t;
#endif
#ifndef __GID_T
typedef unsigned short gid_t;
#endif

/* types for block size*/
#ifndef _BLKSIZE_T_
#define _BLKSIZE_T_
typedef unsigned long blksize_t;
typedef unsigned long blkcnt_t;
#endif /* Not _BLKSIZE_T */

/* statvfs definition from win_util.h */
struct statvfs
{
    blksize_t st_blksize;
    blkcnt_t  st_blocks;
    unsigned long f_fsid;
    unsigned long f_namemax;
    unsigned long f_bsize;
    unsigned long f_frsize;
    unsigned long f_blocks;
    unsigned long f_bfree;
    unsigned long f_favail;
    unsigned long f_bavail;
    unsigned long f_files;
    unsigned long f_ffree;
    unsigned long f_flag;
};

/* This is just to make the FUSE headers happy */
struct flock {
    unsigned long dummy;
};

#endif
