[pypy-commit] pypy default: silence a warning on OS X
fijal
pypy.commits at gmail.com
Mon Nov 20 10:43:40 EST 2017
Author: fijal
Branch:
Changeset: r93099:6c9c3791d06a
Date: 2017-11-20 16:31 +0100
http://bitbucket.org/pypy/pypy/changeset/6c9c3791d06a/
Log: silence a warning on OS X
diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -1881,7 +1881,8 @@
c_chroot = external('chroot', [rffi.CCHARP], rffi.INT,
save_err=rffi.RFFI_SAVE_ERRNO,
- macro=_MACRO_ON_POSIX)
+ macro=_MACRO_ON_POSIX,
+ compilation_info=ExternalCompilationInfo(includes=['unistd.h']))
@replace_os_function('chroot')
def chroot(path):
More information about the pypy-commit
mailing list