include sys/stat.h to ar.h header file to use ar.h as standalone header file