#ifndef ___UNISTD_H__ #define ___UNISTD_H__ #include #include #include #ifndef PATH_MAX #define PATH_MAX _POSIX_PATH_MAX #endif struct __unistd { char ttyname[PATH_MAX + 1]; }; extern struct __unistd __unistd; #endif