Made it so that the preprocess adds all include statements found in the sketch to the beginning of the file, before any prototypes. This fixes problems with "xxx was not declared in this scope" when using enums, structs or typedefs in the function prototypes.