From d5753e15e284597d973c2133e3b2b5111b049d72 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 19 Oct 1999 13:29:23 +0000 Subject: [PATCH] John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3 before it reveals the needed definitions in sys/statvfs.h. --- Modules/posixmodule.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 61c9a21d41..a5ec46d657 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 static char posix_fstatvfs__doc__[] = -- 2.50.1