diff options
author | palange <palange@lindenlab.com> | 2009-10-12 19:03:52 -0400 |
---|---|---|
committer | palange <palange@lindenlab.com> | 2009-10-12 19:03:52 -0400 |
commit | dbe7135cc4694e906a7d95a935df70f20514c962 (patch) | |
tree | 227ed3c9bc717171aeb009067e0f07335bcee8c3 /indra/llmessage/llares.h | |
parent | d4b2897700c66354413af42ab055bd1aaa47f91c (diff) | |
parent | e3a4e3dc10a96b0822674cea262f41774e55a660 (diff) |
merge of login-api
Diffstat (limited to 'indra/llmessage/llares.h')
-rw-r--r-- | indra/llmessage/llares.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llmessage/llares.h b/indra/llmessage/llares.h index c709a08499..78febcd560 100644 --- a/indra/llmessage/llares.h +++ b/indra/llmessage/llares.h @@ -36,7 +36,13 @@ #define LL_LLARES_H #ifdef LL_WINDOWS +// ares.h is broken on windows in that it depends on types defined in ws2tcpip.h +// we need to include them first to work around it, but the headers issue warnings +# pragma warning(push) +# pragma warning(disable:4996) +# include <winsock2.h> # include <ws2tcpip.h> +# pragma warning(pop) #endif #ifdef LL_STANDALONE @@ -49,7 +55,10 @@ #include "llrefcount.h" #include "lluri.h" +#include <boost/shared_ptr.hpp> + class LLQueryResponder; +class LLAresListener; /** * @brief Supported DNS RR types. @@ -444,6 +453,9 @@ public: protected: ares_channel chan_; bool mInitSuccess; + // boost::scoped_ptr would actually fit the requirement better, but it + // can't handle incomplete types as boost::shared_ptr can. + boost::shared_ptr<LLAresListener> mListener; }; /** |