Possible fix: compilation error: close,lseek not declared