aboutsummaryrefslogtreecommitdiff
path: root/comms/plp/files/patch-ac
blob: 0a9ecdbaf5322377bc9b7f334f3ba20a8e5e1739 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- utils/ppsocket.cc.orig	Wed Jan 26 20:45:31 2000
+++ utils/ppsocket.cc	Wed Jan 26 20:45:54 2000
@@ -198,7 +198,11 @@
 
 ppsocket* ppsocket::accept(char* Peer, int MaxLen)
 { 
-  int len;
+#if __FreeBSD_version >= 400013
+  socklen_t len;
+#else
+  unsigned len;
+#endif
   ppsocket* accepted;
   char* peer;