view lang/pypy2/files/patch-rpython_rlib_rposix.py @ 170:f6aac0f4ad1e

MERGE: the imported databases/pypy2-gdbm
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Jan 2024 17:25:38 +0100
parents 9e9df3f25e7d
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(