--- key.c.orig	Tue Apr  1 17:44:50 1997
+++ key.c	Wed Feb  4 16:11:02 1998
@@ -47,6 +47,10 @@
 #	define	exit(n) Exit(n)
 #endif /* UNIX */
 
+#ifdef __FreeBSD__
+#	include <sgtty.h>
+#endif /* __FreeBSD__ */
+
 #include	"nntp.h"
 #include	"gn.h"
 
