view lang/pypy2/files/patch-rpython_rlib_rposix.py @ 206:7f8d6a19c404

Rename port options regarding translation: they now have all a TRANS_ prefix. This is to remove possible clashes with other PYTHON-related port options and variables.
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 14 Mar 2025 01:16:50 +0100
parents 8b567a874360
children
line wrap: on
line source

--- rpython/rlib/rposix.py.orig	2025-02-22 16:54:09 UTC
+++ rpython/rlib/rposix.py
@@ -212,6 +212,8 @@ else:
         includes.append('sys/sysmacros.h')
     if sys.platform.startswith('freebsd') or sys.platform.startswith('openbsd'):
         includes.append('sys/ttycom.h')
+    if sys.platform.startswith('freebsd'):
+        includes.append('termios.h')
     libraries = ['util']
 
 eci = ExternalCompilationInfo(