This is an enclosure for animals, probably sheep. It was just near the ruins, but didn't appear to be too old.