Gynaecology & Obstetrics

A diabetic female at 40 wks of gestation delivered a baby by elective cesarean section. Soon after bih the baby developed respiratory distress. The diagnosis is