diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-12-23 11:13:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-23 11:13:19 -0800 |
commit | ffaab09e998678ba2309821300ac10d62f3d3a78 (patch) | |
tree | 180472166a1bccd6cf6e3794f5d53c8e3d3b5365 /runtime/lua/vim/_system.lua | |
parent | d74c74aae35e79591426bac786a02c8b008cef5d (diff) | |
download | rneovim-ffaab09e998678ba2309821300ac10d62f3d3a78.tar.gz rneovim-ffaab09e998678ba2309821300ac10d62f3d3a78.tar.bz2 rneovim-ffaab09e998678ba2309821300ac10d62f3d3a78.zip |
fix(build): <termios.h> is system-dependent #31705
Problem:
Since 2a7d0ed6145bf3f8b139c2694563f460f829813a, build fails with glibc
version 2.28 / RHEL8 (where `termios.h` does not include unistd.h and is
therefore missing `_POSIX_VDISABLE`):
…/src/nvim/tui/termkey/termkey.c: In function 'termkey_start':
…/src/nvim/tui/termkey/termkey.c:516:31: error: '_POSIX_VDISABLE' undeclared (first use in this function)
516 | termios.c_cc[VQUIT] = _POSIX_VDISABLE;
| ^~~~~~~~~~~~~~~
…/src/nvim/tui/termkey/termkey.c:516:31: note: each undeclared identifier is reported only once for each function it appears in
Solution:
- Undo the `<termios.h>` change and mark the imports with `IWYU pragma: keep`.
Diffstat (limited to 'runtime/lua/vim/_system.lua')
0 files changed, 0 insertions, 0 deletions