# HG changeset patch # User Daniel Atallah # Date 1303172492 0 # Node ID f0de3178dd8789b3955580bc0011d2979cc02148 # Parent 5095ed88829ac090c3853556300eab55cef66226 The T_SRV and T_TXT defines are needed on WIN32 too. diff -r 5095ed88829a -r f0de3178dd87 libpurple/dnssrv.c --- a/libpurple/dnssrv.c Tue Apr 19 00:20:36 2011 +0000 +++ b/libpurple/dnssrv.c Tue Apr 19 00:21:32 2011 +0000 @@ -30,12 +30,6 @@ #ifdef HAVE_ARPA_NAMESER_COMPAT_H #include #endif -#ifndef T_SRV -#define T_SRV PurpleDnsTypeSrv -#endif -#ifndef T_TXT -#define T_TXT PurpleDnsTypeTxt -#endif #else /* WIN32 */ #include /* Missing from the mingw headers */ @@ -47,6 +41,13 @@ #endif #endif +#ifndef T_SRV +#define T_SRV PurpleDnsTypeSrv +#endif +#ifndef T_TXT +#define T_TXT PurpleDnsTypeTxt +#endif + #include "debug.h" #include "dnssrv.h" #include "eventloop.h" @@ -1042,4 +1043,4 @@ g_return_val_if_fail(query_data != NULL, 0); return query_data->type; -} \ No newline at end of file +}