summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c5
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__[] =