  We derive an extension of the Ryu-Takayanagi prescription for curvature
squared theories of gravity in the bulk, and comment on a prescription for more
general theories. This results in a new entangling functional, that contains a
correction to Wald's entropy. The new term is quadratic in the extrinsic
curvature. The coefficient of this correction is a second derivative of the
lagrangian with respect to the Riemann tensor. For Gauss-Bonnet gravity, the
new functional reduces to Jacobson-Myers'.
