Relativistic corrections to the three-body problem