2013-09-26 17:14:40 +02:00

16 lines
427 B
Plaintext

$NetBSD: patch-aq,v 1.1 2006/05/09 19:24:24 joerg Exp $
--- telnet/libtelnet/read_password.c.orig 2006-05-09 18:56:06.000000000 +0000
+++ telnet/libtelnet/read_password.c
@@ -52,6 +52,10 @@ static char sccsid[] = "@(#)read_passwor
#if defined(RSA_ENCPWD) || defined(KRB4_ENCPWD) || defined(SRP)
+#if defined(__DragonFly__)
+#define USE_TERMIO 1
+#endif
+
#include <stdio.h>
#include <strings.h>
#include <sys/ioctl.h>