What not to give a constipated baby

Is

My ten months old son is a bit constipated and I know what to give (pears, prunes, kiwi fruit) but not sure what to avoid, except for bananas and dairy, which we haven't started with yet. So what else should we avoid?