view files/patch-rpython_rlib_rposix.py @ 61:e12dfbf0a674

Support the byte-compilation: add an extra PLIST_SUB variable
author Franz Glasner <hg@dom66.de>
date Wed, 10 Jan 2024 18:47:48 +0100
parents 585cf5a218ad
children
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(