Added include of sys/types.h for UNIX to get definition of off_t.