freebsd-ports/net/socks5/files/patch-clients::telnet::externs.h
Ed Schouten 672ff8e562 Make net/socks5 compile again after the removal of sgtty.
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)
2008-06-19 08:38:38 +00:00

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