Remove useless #include directives
Add <sys/types.h> that might be required for SIZE_MAX.