Include cstdio and unistd.h to provide missing namespaces.
updates