Author: Laurence Tratt <[email protected]>
Branch:
Changeset: r91291:51b52e05a32a
Date: 2017-05-14 19:22 +0800
http://bitbucket.org/pypy/pypy/changeset/51b52e05a32a/
Log: OpenBSD also needs sys/ttycom.h included.
diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -239,7 +239,7 @@
'signal.h', 'sys/utsname.h', _ptyh]
if sys.platform.startswith('linux'):
includes.append('sys/sysmacros.h')
- if sys.platform.startswith('freebsd'):
+ if sys.platform.startswith('freebsd') or
sys.platform.startswith('openbsd'):
includes.append('sys/ttycom.h')
libraries = ['util']
eci = ExternalCompilationInfo(
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit