success!

forgot to include <sys/wait.h>