Power for servo motor?

What version of the IRremote library do you have installed? The posted code is for an earlier version (<3.0) of the library. See the IRremote library page for instructions on what changes need to be made to the older code to work with the new version of the library.