Make this compile under NetBSD-1.4.x by moving conflicting definition in #include <unistd.h> upfront.