672ff8e562
The net/socks5 port includes <ttychars.h>, even though it is not needed. This header file got removed with the sgtty interface. Also make the port prefer <termios.h> over <sys/termios.h> PR: 124480 Approved by: philip (mentor)
16 lines
350 B
C
16 lines
350 B
C
--- clients/telnet/externs.h
|
|
+++ clients/telnet/externs.h
|
|
@@ -92,10 +92,10 @@
|
|
# include <termio.h>
|
|
# endif
|
|
# else
|
|
-# ifdef HAVE_SYS_TERMIOS_H
|
|
-# include <sys/termios.h>
|
|
-#elif defined(HAVE_TERMIOS_H)
|
|
+# ifdef HAVE_TERMIOS_H
|
|
# include <termios.h>
|
|
+#elif defined(HAVE_SYS_TERMIOS_H)
|
|
+# include <sys/termios.h>
|
|
# endif
|
|
# endif
|
|
#endif
|