$NetBSD: patch-ac,v 1.2 1998/08/07 11:10:38 agc Exp $ --- dip.h.orig Fri Jun 30 19:41:05 1995 +++ dip.h Tue Apr 14 18:56:26 1998 @@ -50,10 +50,23 @@ #include #include #include +#include #include +#include +#ifdef __FreeBSD__ +#if __FreeBSD__ >= 2 +#include +#endif +#if __FreeBSD_version >= 300000 +#include +#include +#include +#include +#include +#endif +#endif /*__FreeBSD__*/ #include #include -#include #include #include extern int h_errno; @@ -121,7 +133,7 @@ /* * Pfad- und Dateinamen-Konstanten */ -#define PATH_LOCKD "/var/spool/uucp/LCK.." +#define PATH_LOCKD "/var/spool/lock/LCK" #define PATH_ETC_DIPHOSTS "/etc/diphosts" #define PATH_BIN_IFCONFIG "/sbin/ifconfig" #define PATH_BIN_ROUTE "/sbin/route" @@ -231,3 +243,4 @@ int tty_flush ( void ); int tty_close ( void ); int tty_open ( char * ); +void tty_relock ( void );