Include <sys/types.h> for pid_t.