diff options
author | Guido van Rossum <guido@python.org> | 1999-10-19 13:29:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-10-19 13:29:23 (GMT) |
commit | d5753e15e284597d973c2133e3b2b5111b049d72 (patch) | |
tree | 2b55991e26ec535003cdf45d16e5509ae5656b20 /Modules/posixmodule.c | |
parent | eba24bb920339038b473e8714690080009cb0d3a (diff) | |
download | cpython-d5753e15e284597d973c2133e3b2b5111b049d72.zip cpython-d5753e15e284597d973c2133e3b2b5111b049d72.tar.gz cpython-d5753e15e284597d973c2133e3b2b5111b049d72.tar.bz2 |
John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3
before it reveals the needed definitions in sys/statvfs.h.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 61c9a21..a5ec46d 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3058,6 +3058,11 @@ posix_WSTOPSIG(self, args) #if defined(HAVE_FSTATVFS) +#ifdef _SCO_DS +/* SCO OpenServer 5.0 and later requires _SVID3 before it reveals the + needed definitions in sys/statvfs.h */ +#define _SVID3 +#endif #include <sys/statvfs.h> static char posix_fstatvfs__doc__[] = |