[pypy-commit] pypy unicode-utf8: silence a warning on OS X
fijal
pypy.commits at gmail.com
Mon Nov 20 10:32:29 EST 2017
Author: fijal
Branch: unicode-utf8
Changeset: r93098:d18dd16d58c7
Date: 2017-11-20 16:31 +0100
http://bitbucket.org/pypy/pypy/changeset/d18dd16d58c7/
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
@@ -1867,7 +1867,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