Integrate round the usual contour (real axis + upper semicircle). That will give you the value of . Then take the complex conjugate to get the integral that you want. But in fact the answer should turn out to be real anyway, because the sin(x) part of the integrand is an odd function, so its integral should be 0.