changed fseek to fsetpos, added include <stdint.h>

changed fseek to fsetpos on line 389 to pass on hive
added #include <stdint.h> to pass on hive