This is very common problem to Arduino users. As the new versions of IDE has been released, many libraries has been updated. All of these previous Wprogram.h, Wiring.h, String.h has been included under single header file named Arduino.h
I came across this error/warning several times. Just needed to rename the header file to <Arduino.h> and problem get solved.