Add missing prototypes for the benefit of SunOS 4.1.4 */

This commit is contained in:
Guido van Rossum 2000-09-25 13:22:00 +00:00
parent 4b36e6bde1
commit b00adfbd83
1 changed files with 7 additions and 0 deletions

View File

@ -108,6 +108,13 @@ corresponding Unix manual entries for more information on calls.";
#include <unistd.h>
#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
/* NeXT's <unistd.h> and <utime.h> aren't worth much */
#undef HAVE_UNISTD_H