From: Guido van Rossum Date: Tue, 19 Oct 1999 13:29:23 +0000 (+0000) Subject: John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3 X-Git-Tag: v1.6a1~815 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5753e15e284597d973c2133e3b2b5111b049d72;p=thirdparty%2FPython%2Fcpython.git John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3 before it reveals the needed definitions in sys/statvfs.h. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 61c9a21d41b0..a5ec46d6579e 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__[] =