Include unistd.h to get definition of setpgid