aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ppsocket.cc
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-03-20 02:18:51 +0000
committerFritz Elfert <felfert@to.com>2002-03-20 02:18:51 +0000
commit1d9b2e0e156f9a58bd642b9f9e8b2a08e768f5ed (patch)
tree580f6fa06ce0d114f3861c709203af4c3d86237a /lib/ppsocket.cc
parentbedd0177bc1ec1bf3c425e034958209554c20171 (diff)
downloadplptools-1d9b2e0e156f9a58bd642b9f9e8b2a08e768f5ed.tar.gz
plptools-1d9b2e0e156f9a58bd642b9f9e8b2a08e768f5ed.tar.bz2
plptools-1d9b2e0e156f9a58bd642b9f9e8b2a08e768f5ed.zip
- rpcs: Implemented scratch RAM access.
- Updated spec file (not complete) - Updated KDE translations - kioslave and property-dialog now translate correctly - ppsocket: Added a patch for FreeBSD - plpftp: Some experimental code for testing
Diffstat (limited to 'lib/ppsocket.cc')
-rw-r--r--lib/ppsocket.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ppsocket.cc b/lib/ppsocket.cc
index 8f52988..0053436 100644
--- a/lib/ppsocket.cc
+++ b/lib/ppsocket.cc
@@ -204,6 +204,13 @@ accept(string *Peer, IOWatch *iow)
#ifdef sun
int len;
#else
+# ifdef __FreeBSD__
+# if __FreeBSD_version >= 400000
+ socklen_t len;
+# else
+ unsigned len;
+# endif
+# endif
socklen_t len;
#endif
ppsocket *accepted;