The provided header file is replacement of orginal header file of SoftwareSerial.h which compiles SoftwareSerial for ATmega644P without error.