Integrate[1/(1+m cos(u))^2, u]