Ok, the bug is in litec.h - please edit it and remove the "typedef void FILE" in line 42. FILE was twice defined this way.

Also, better write "void main()" instead of "function run()" - the run function is only for trading.