summaryrefslogtreecommitdiff
path: root/net/dip/patches/patch-ac
blob: 347ed0f67b6ab91b895b4457b03cd59dddc7fa1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 );