diff options
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index f0e3f0d..9ac0eb4 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -129,6 +129,12 @@ extern int lstat(const char *, struct stat *); extern int symlink(const char *, const char *); #endif +#if defined(__sgi)&&_COMPILER_VERSION>=700 +/* declare ctermid_r if compiling with MIPSPro 7.x in ANSI C mode + (default) */ +extern char *ctermid_r(char *); +#endif + #ifndef HAVE_UNISTD_H #if defined(PYCC_VACPP) extern int mkdir(char *); |