Ok, approach this strictly in terms of contour integration: it's a rectangular contour with corners at [tex]c\pm i \infty[/tex], and [tex]-\infty\pm i\infty[/tex]. Then that contour encloses the poles at [tex]n=0,-1,-2,-3,\cdots[/tex]. And by the Residue Theorem, the integral, assuming the other legs go to zero, is just [tex]2\pi i[/tex] times the sum of the residues at that set of poles.
Also, I though it was a bit of a challenge to show:
[tex]
\mathop\textnormal{Res}\limits_{z=-n}\left\{\frac{\pi}{x^s\sin(\pi s)}\right\}=(-x)^n,\quad n=0,-1,-2,\cdots[/tex]
for me anyway. Maybe an easier way to do though.