d8eebf4c22
if it is likely not going to run. Fix CONF_FILES.
21 lines
899 B
Text
21 lines
899 B
Text
$NetBSD: patch-ac,v 1.3 2013/03/24 16:51:08 joerg Exp $
|
|
--- RTSPClientLib/ClientSocket.cpp.orig 2003-08-15 23:53:20.000000000 +0000
|
|
+++ RTSPClientLib/ClientSocket.cpp
|
|
@@ -69,7 +69,7 @@ OS_Error ClientSocket::Open(TCPSocket* i
|
|
return theErr;
|
|
|
|
inSocket->NoDelay();
|
|
-#if __FreeBSD__ || __MacOSX__
|
|
+#if __FreeBSD__ || __MacOSX__ || __NetBSD__ || defined(__DragonFly__)
|
|
// no KeepAlive -- probably should be off for all platforms.
|
|
#else
|
|
inSocket->KeepAlive();
|
|
@@ -162,7 +162,7 @@ void TCPClientSocket::SetOptions(int snd
|
|
err = ::setsockopt(fSocket.GetSocketFD(), SOL_SOCKET, SO_RCVBUF, (char*)&rcvBufSize, sizeof(int));
|
|
AssertV(err == 0, OSThread::GetErrno());
|
|
|
|
-#if __FreeBSD__ || __MacOSX__
|
|
+#if __FreeBSD__ || __MacOSX__ || __NetBSD__ || defined(__DragonFly__)
|
|
struct timeval time;
|
|
//int len = sizeof(time);
|
|
time.tv_sec = 0;
|