Forgot to include <unistd.h>