Fix missing includes of <sys/types.h> for ssize_t.