[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:04:24 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:
Should we just remove the check for TERMIOS_H then and only check for `ioctl()`?
https://github.com/llvm/llvm-project/pull/143514
More information about the llvm-commits
mailing list