error 'irrecv' does not name a type

Im trying to code my IR remote control to trigger one of the 4 pumps,“relayIN” depending which button is pushed for my auto water irrigation arduino uno project. Im going crazy getting error messeges and just cant figure out why. Anyone have any suggestions?

new_potential_auto.ino (13.1 KB)

Please read "Read this before posting a programming question" at the top of the forum and post your sketch using code tags.

why is #include <IRremote.h> inside an ifdef that appears to choose an LCD option?

SteveMann:
Please read "Read this before posting a programming question" at the top of the forum and post your sketch using code tags.

13kb would not fit.