[llvm] [LLVM] [Support] Query the terminal width using the termios API (PR #143514)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 08:03:05 PDT 2025
================
@@ -34,6 +34,12 @@
#ifdef HAVE_GETAUXVAL
#include <sys/auxv.h>
#endif
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
----------------
Sirraide wrote:
I thought `TIOCGWINSZ` was defined in `termios.h` but apparently not
https://github.com/llvm/llvm-project/pull/143514
More information about the llvm-commits
mailing list