nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Philip Taron <philip.taron@gmail.com>
3Date: Wed, 7 Jan 2026 17:30:51 -0800
4Subject: [PATCH] console: include termios.h explicitly
5
6ncurses 6.6 moved the termios.h include inside #ifdef NCURSES_INTERNALS
7in term.h, so applications can no longer rely on term.h to provide
8termios symbols. Include termios.h explicitly.
9---
10 src/console/conio.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/src/console/conio.c b/src/console/conio.c
14index 2bea887..7ac61d6 100755
15--- a/src/console/conio.c
16+++ b/src/console/conio.c
17@@ -56,6 +56,7 @@
18
19 #include <curses.h>
20 #include <term.h>
21+#include <termios.h>
22
23 #ifdef HAVE_SUN_OS
24 #ifndef _TERM_H