add missing include for frwite that causese error on hgwdev