MB4 211a: Halachically Enclosing a Large Yard When the Walls Were Made Before the House Was Put Up (358:2)

In order to be able to carry in an enclosed yard it has to be "מוקף לדירה". What if the yard was enclosed before the adjacent house was finished? How can it be made into an area in which one can carry?