Rob Shearman : rpcrt4: Use IPPROTO_TCP for SOL_TCP if SOL_TCP isn't
defined .
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Mar 1 16:27:08 CST 2007
Module: wine
Branch: master
Commit: 55a103ca5cc7604f979ed8e9919a5f95d233d58e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=55a103ca5cc7604f979ed8e9919a5f95d233d58e
Author: Rob Shearman <rob at codeweavers.com>
Date: Thu Mar 1 17:17:54 2007 +0000
rpcrt4: Use IPPROTO_TCP for SOL_TCP if SOL_TCP isn't defined.
Fixes compilation on *BSD systems.
---
dlls/rpcrt4/rpc_transport.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 4d83670..5f3966f 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -74,6 +74,10 @@
#include "rpc_server.h"
#include "epm_towers.h"
+#ifndef SOL_TCP
+# define SOL_TCP IPPROTO_TCP
+#endif
+
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
static CRITICAL_SECTION connection_pool_cs;
More information about the wine-cvs
mailing list