If you are going to be using this library in more than one sketch, instead of adding #include <WProgram.h> to each sketch that uses the library, you can add it as the first line in the NECIRrcv.h file.
If you are going to be using this library in more than one sketch, instead of adding #include <WProgram.h> to each sketch that uses the library, you can add it as the first line in the NECIRrcv.h file.