Instead of formula and breast milk… what else can i give her?

Cuz shes having constipation with this stupid enfamil purple… and i coulsnt breast feed for some reason… just wondering what else is out there besides formula and breast milk… back in the day like in 1800 what did people use to use to feed their babies??