view lang/pypy2/files/patch-rpython_rlib_rposix.py @ 204:0b0312cdf0ca

pypy310: make test execution work ("make test")
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 13 Mar 2025 20:19: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(