summaryrefslogtreecommitdiffstats
path: root/devel/libassa/files/patch-assa:Socket.cpp
blob: 84665a31d0b83421b32276e1a5112b7c0f0f2579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- assa/Socket.cpp.orig	Fri Jul 25 08:51:00 2003
+++ assa/Socket.cpp	Mon Mar 29 12:05:59 2004
@@ -16,6 +16,7 @@
 
 #include <sstream>
 #include <rpc/rpc.h>
+#include <sys/ioctl.h>
 
 #include "assa/Socket.h"
 
@@ -190,7 +191,7 @@
 	int level = SOL_SOCKET;
 	bool bin = false;
 
-	size_t len = sizeof (optval);
+	socklen_t len = sizeof (optval);
 	int ret;
 
 	if (rcvlowat == opt_)      optname = SO_RCVLOWAT;
OpenPOWER on IntegriCloud