view lang/pypy2/files/patch-rpython_rlib_rposix.py @ 65:9e9df3f25e7d

Move the old imported pypy repo into the lang/pypy2 folder
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 12 Jan 2024 09:18:14 +0100
parents files/patch-rpython_rlib_rposix.py@585cf5a218ad
children 8b567a874360
line wrap: on
line source

--- rpython/rlib/rposix.py.orig	2023-12-23 15:29:17 UTC
+++ rpython/rlib/rposix.py
@@ -214,6 +214,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(