summaryrefslogtreecommitdiff
path: root/www/kdewebdev4/files/patch-quanta::plugins::php4dgb::dbgbase::ListenerGlobals.cpp
blob: efa09025f5c17c6361b342b29140f4bbb192a1d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- quanta/plugins/php4dbg/dbgbase/ListenerGlobals.cpp.orig	Thu Jan 24 16:50:10 2002
+++ quanta/plugins/php4dbg/dbgbase/ListenerGlobals.cpp	Thu Jan 24 16:51:58 2002
@@ -11,6 +11,7 @@
                            the world-wide-web at http://dd.cron.ru/license
  ***************************************************************************/
 
+#include <sys/types.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include "ListenerGlobals.h"
@@ -344,7 +345,7 @@
 	ret_val = select(listen_socket + 1, &rset, NULL, NULL, &timeout);
 	if (ret_val>0) {
 		siz = sizeof(laddr);
-		ret_val = accept(listen_socket, &laddr, &siz);
+	       ret_val = accept(listen_socket, &laddr,(socklen_t *) &siz);
 	}
 	if (ret_val <= 0) {
 		return (ret_val) ? (-1) : (0);