IDE last version 1.6.8 (with interesting examples)
In new tabs, unlike the sketch’s main .ino
file, you will not have automatic access to the Arduino basic definitions.
That is easily remedied by including #include "Arduino.h"
http://jamesreubenknowles.com/multiple-source-files-with-the-arduino-ide-1618