inet.h problem

im trying to compile inet.h header file only in the sketch file.i get this error messages in stat.h

D:\Arduino\Arduino1\libraries\sys/stat.h:28:3: error: ‘dev_t’ does not name a type
dev_t st_dev;
^
D:\Arduino\Arduino1\libraries\sys/stat.h:29:3: error: ‘ino_t’ does not name a type
ino_t st_ino;
^
D:\Arduino\Arduino1\libraries\sys/stat.h:30:3: error: ‘mode_t’ does not name a type
mode_t st_mode;
^
D:\Arduino\Arduino1\libraries\sys/stat.h:31:3: error: ‘nlink_t’ does not name a type
nlink_t st_nlink;
^
D:\Arduino\Arduino1\libraries\sys/stat.h:32:3: error: ‘uid_t’ does not name a type
uid_t st_uid;

please help

im trying to compile inet.h header file only in the sketch file

Why?