I don't think that was the reason the baby died.

http://www.anencephalie-info.org/e/faq.htm#faqe9
Life expectancy:

About 25% of anencephalic children who live to the end of the pregnancy die during delivery; 50% have a life expectancy of between a few minutes and 1 day, 25% live up to 10 days.