summaryrefslogtreecommitdiff
path: root/net/dip/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/dip/patches/patch-ac')
-rw-r--r--net/dip/patches/patch-ac41
1 files changed, 41 insertions, 0 deletions
diff --git a/net/dip/patches/patch-ac b/net/dip/patches/patch-ac
new file mode 100644
index 00000000000..347ed0f67b6
--- /dev/null
+++ b/net/dip/patches/patch-ac
@@ -0,0 +1,41 @@
+--- dip.h.orig Fri Jun 30 19:41:05 1995
++++ dip.h Tue Apr 14 18:56:26 1998
+@@ -50,10 +50,23 @@
+ #include <pwd.h>
+ #include <signal.h>
+ #include <sys/socket.h>
++#include <sys/time.h>
+ #include <net/if.h>
++#include <netinet/in.h>
++#ifdef __FreeBSD__
++#if __FreeBSD__ >= 2
++#include <osreldate.h>
++#endif
++#if __FreeBSD_version >= 300000
++#include <net/if_var.h>
++#include <sys/mbuf.h>
++#include <netinet/in_systm.h>
++#include <netinet/ip.h>
++#include <net/slcompress.h>
++#endif
++#endif /*__FreeBSD__*/
+ #include <net/slip.h>
+ #include <net/if_slvar.h>
+-#include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>
+ 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 );