How to read from serial in c ? (under linux)

it gives me "implicit declaration"!

I'm nearly certain there was more to the message than that.