Kaydet (Commit) 8216c189 authored tarafından Skip Montanaro's avatar Skip Montanaro

conditionally include unistd.h to pick up confstr declaration. attempt to

squelch warning from GCC 2.95.2 on Solaris - partially addresses bug
#232787.
üst dd175343
...@@ -40,6 +40,11 @@ corresponding Unix manual entries for more information on calls."; ...@@ -40,6 +40,11 @@ corresponding Unix manual entries for more information on calls.";
#include <fcntl.h> #include <fcntl.h>
#endif /* HAVE_FCNTL_H */ #endif /* HAVE_FCNTL_H */
/* pick up declaration of confstr on some systems? */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
/* Various compilers have only certain posix functions */ /* Various compilers have only certain posix functions */
/* XXX Gosh I wish these were all moved into config.h */ /* XXX Gosh I wish these were all moved into config.h */
#if defined(PYCC_VACPP) && defined(PYOS_OS2) #if defined(PYCC_VACPP) && defined(PYOS_OS2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment