i think you're going blind, because after the two pieces of code i said:
i've tried to put the #include <LiquidCrystal.h> in both of them, using various combination, but nothing changed: all i've got was that error message. by the way, this is the complete compilation log:
i thought it was enough self-explanatory.
also, i don't see how the problem could stay in the sketch file.