1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/comms/plp/files/patch-ac

16 lines
312 B
Plaintext
Raw Normal View History

--- 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;