barn

/bɑrn/

noun

A large farm building used for storing grain, hay, or straw or for housing livestock.

Also within the wall would have been a well, latrines, a chapel, workshops, barns, pens for livestock, hen houses and perhaps other outbuildings.

outbuilding,shed,outhouse,shelter