#include "ace/os_include/os_unistd.h"
This code was originally in various places including ace/OS.h.