Throwing in an include of <unistd.h> and <sys/types.h> to get off_t defined. Might work.
Attach a file by drag & drop or click to upload