Author: Manuel Jacob <[email protected]>
Branch:
Changeset: r90718:853bb72fa73c
Date: 2017-03-15 22:51 +0100
http://bitbucket.org/pypy/pypy/changeset/853bb72fa73c/
Log: Silence glibc warning.
diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -237,6 +237,8 @@
'sys/resource.h',
'grp.h', 'dirent.h', 'sys/stat.h', 'fcntl.h',
'signal.h', 'sys/utsname.h', _ptyh]
+ if sys.platform.startswith('linux'):
+ includes.append('sys/sysmacros.h')
if sys.platform.startswith('freebsd'):
includes.append('sys/ttycom.h')
libraries = ['util']
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit