Added #includes to pick up declaration of waitpid()