On gcc 4.0 it needs this line to build. # include <unistd.h>
On gcc 4.0 it needs this line to build.
include <unistd.h>