mirror of
https://github.com/python/cpython.git
synced 2025-10-20 05:41:23 +00:00
Add missing prototypes for the benefit of SunOS 4.1.4 */
This commit is contained in:
parent
4b36e6bde1
commit
b00adfbd83
1 changed files with 7 additions and 0 deletions
|
@ -108,6 +108,13 @@ corresponding Unix manual entries for more information on calls.";
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(sun) && !defined(__SVR4)
|
||||||
|
/* SunOS 4.1.4 doesn't have prototypes for these: */
|
||||||
|
extern int rename(const char *, const char *);
|
||||||
|
extern int pclose(FILE *);
|
||||||
|
extern int fclose(FILE *);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NeXT
|
#ifdef NeXT
|
||||||
/* NeXT's <unistd.h> and <utime.h> aren't worth much */
|
/* NeXT's <unistd.h> and <utime.h> aren't worth much */
|
||||||
#undef HAVE_UNISTD_H
|
#undef HAVE_UNISTD_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue