Hi try using this header file and the structure...
May be helpful...

#include <sys/vfs.h> // ??? [statfs(), etc.]

int main(void)
..

// variables
struct statfs fs;