diff options
-rw-r--r-- | src/core/provider/MCMXRecordResolverOperation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/provider/MCMXRecordResolverOperation.cpp b/src/core/provider/MCMXRecordResolverOperation.cpp index aa2d5448..ac6c8219 100644 --- a/src/core/provider/MCMXRecordResolverOperation.cpp +++ b/src/core/provider/MCMXRecordResolverOperation.cpp @@ -8,8 +8,10 @@ #include "MCMXRecordResolverOperation.h" +#if !defined(ANDROID) && !defined(__ANDROID__) #include <arpa/inet.h> #include <resolv.h> +#endif using namespace mailcore; @@ -43,6 +45,7 @@ Array * MXRecordResolverOperation::mxRecords() void MXRecordResolverOperation::main() { mMXRecords = new Array(); +#if !defined(ANDROID) && !defined(__ANDROID__) unsigned char response[NS_PACKETSZ]; ns_msg handle; ns_rr rr; @@ -67,5 +70,6 @@ void MXRecordResolverOperation::main() } } } +#endif } |