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