Surface tension adds an additional energy term [itex]\gamma\,dA[/itex] where [itex]\gamma[/itex] is the surface energy and [itex]A[/itex] is the area.
Maxwell relations arise because the equation I wrote above is really
[tex]dU=\left(\frac{\partial U}{\partial S}\right)_{V,N,A}dS+\left(\frac{\partial U}{\partial V}\right)_{S,N,A}dV+\left(\frac{\partial U}{\partial N}\right)_{S,V,A}dN+\left(\frac{\partial U}{\partial A}\right)_{S,V,N}dA[/tex]
and we've assigned the variables [itex]T[/itex], [itex]-p[/itex], [itex]\mu[/itex], and [itex]\gamma[/itex] to the partial derivatives. Therefore
[tex]\left(\frac{\partial T}{\partial V}\right)=\left(\frac{\partial^2 U}{\partial S\,\partial V}\right)=\left(\frac{\partial^2 U}{\partial V\,\partial S}\right)=-\left(\frac{\partial p}{\partial S}\right)[/tex]
You should be able to apply the same reasoning to differentials involving [itex]\gamma[/itex].