mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3
before it reveals the needed definitions in sys/statvfs.h.
This commit is contained in:
parent
eba24bb920
commit
d5753e15e2
1 changed files with 5 additions and 0 deletions
|
@ -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__[] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue