From d60f16540dba5616cd8260046b44ebc2a1047065 Mon Sep 17 00:00:00 2001 From: Josh Bell Date: Thu, 4 Jan 2007 02:04:29 +0000 Subject: svn merge svn+ssh://svn.lindenlab.com/svn/linden/release@56429 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance@56431 This turned up the following "lost" changes: llapp.cpp (from maintenance r55371) - SIGPIPE fix, possibly llfontgl.cpp (from maintenance r50207) - whitespace only inventorybridge.cpp (property - non-executable) skins/xui/*/* (from maintenance r55380) - XML processing instruction went AWOL --- indra/llmessage/llhost.cpp | 20 +++++++++++--------- indra/llmessage/llmail.cpp | 7 +++++++ indra/llmessage/llmail.h | 2 +- indra/llmessage/net.cpp | 18 +++++++++++------- 4 files changed, 30 insertions(+), 17 deletions(-) (limited to 'indra/llmessage') diff --git a/indra/llmessage/llhost.cpp b/indra/llmessage/llhost.cpp index f4a1740663..501d9465c2 100644 --- a/indra/llmessage/llhost.cpp +++ b/indra/llmessage/llhost.cpp @@ -8,19 +8,21 @@ #include "linden_common.h" - -#if !LL_WINDOWS -#include -#include // ntonl() -#include -#include -#include -#endif - #include "llhost.h" #include "llerror.h" +#if LL_WINDOWS + #define WIN32_LEAN_AND_MEAN + #include +#else + #include + #include // ntonl() + #include + #include + #include +#endif + LLHost LLHost::invalid(INVALID_PORT,INVALID_HOST_IP_ADDRESS); LLHost::LLHost(const std::string& ip_and_port) diff --git a/indra/llmessage/llmail.cpp b/indra/llmessage/llmail.cpp index 9fe8e89b20..4dd550901e 100644 --- a/indra/llmessage/llmail.cpp +++ b/indra/llmessage/llmail.cpp @@ -8,6 +8,13 @@ #include "linden_common.h" +// APR on Windows needs full windows headers +#ifdef LL_WINDOWS +# undef WIN32_LEAN_AND_MEAN +# include +# include +#endif + #include #include #include diff --git a/indra/llmessage/llmail.h b/indra/llmessage/llmail.h index e34b827f5f..af02264776 100644 --- a/indra/llmessage/llmail.h +++ b/indra/llmessage/llmail.h @@ -9,7 +9,7 @@ #ifndef LL_LLMAIL_H #define LL_LLMAIL_H -#include "apr-1/apr_pools.h" +typedef struct apr_pool_t apr_pool_t; // if hostname is NULL, then the host is resolved as 'mail' void init_mail(const std::string& hostname, apr_pool_t* pool); diff --git a/indra/llmessage/net.cpp b/indra/llmessage/net.cpp index 2b712840d8..bf8927c7b9 100644 --- a/indra/llmessage/net.cpp +++ b/indra/llmessage/net.cpp @@ -14,13 +14,17 @@ #include #include -#if !LL_WINDOWS // Windows Versions -#include -#include -#include -#include -#include -#include +#if LL_WINDOWS + #define WIN32_LEAN_AND_MEAN + #include + #include +#else + #include + #include + #include + #include + #include + #include #endif // linden library includes -- cgit v1.2.3