Author: Armin Rigo <[email protected]>
Branch:
Changeset: r88476:09166f2f6bfd
Date: 2016-11-18 20:30 +0100
http://bitbucket.org/pypy/pypy/changeset/09166f2f6bfd/
Log: Fix HAVE_FSTATVFS, which used to be always False because of a
missing header in the test
diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -1874,7 +1874,9 @@
# Support for f... and ...at families of POSIX functions
class CConfig:
- _compilation_info_ = eci
+ _compilation_info_ = eci.merge(ExternalCompilationInfo(
+ includes=['sys/statvfs.h'],
+ ))
for _name in """faccessat fchdir fchmod fchmodat fchown fchownat fexecve
fdopendir fpathconf fstat fstatat fstatvfs ftruncate
futimens futimes futimesat linkat chflags lchflags lchmod lchown
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit