1. A process in which a tendency for a change in a given direction is counteracted by another change so that the original change is not evident.
2. An unconscious mechanism by which one tries to make up for fancied or real deficiencies.
The definition information for compensation is provided by Stedman's. You can search our medical dictionary here.