  
    message_server_->ForwardMessage(request, sandbox_->real_bootstrap_port());
 diff --git a/sandbox/mac/os_compatibility.cc b/sandbox/mac/os_compatibility.cc
-index 5ddf6a5..1b85e2c 100644
+index 538efef..527d7e7 100644
 --- a/sandbox/mac/os_compatibility.cc
 +++ b/sandbox/mac/os_compatibility.cc
-@@ -184,7 +184,9 @@ class OSCompatibility_10_10 : public OSCompatibility {
+@@ -167,7 +167,9 @@ class OSCompatibility_10_10 : public OSCompatibility {
  
    void WriteServiceLookUpReply(IPCMessage message,
                                 mach_port_t service_port) override {

     // On non-XPC launchd systems, bootstrap_look_up() is MIG-based and
     // generally safe.
diff --git a/sandbox/mac/xpc_message_server.cc b/sandbox/mac/xpc_message_server.cc
index 1375310..6cdec4d 100644
--- a/sandbox/mac/xpc_message_server.cc
+++ b/sandbox/mac/xpc_message_server.cc
@@ -54,7 +54,9 @@ void XPCMessageServer::Shutdown() {
 
 pid_t XPCMessageServer::GetMessageSenderPID(IPCMessage request) {
   audit_token_t token;

 }
 
 void XPCMessageServer::RejectMessage(IPCMessage request, int error_code) {
@@ -105,6 +111,7 @@ mach_port_t XPCMessageServer::GetServerPort() const {
 }
 
 void XPCMessageServer::ReceiveMessage() {
+#ifndef MAS_BUILD
   IPCMessage request;
   int rv = xpc_pipe_receive(server_port_.get(), &request.xpc);
   if (rv) {
@@ -119,6 +126,7 @@ void XPCMessageServer::ReceiveMessage() {
     xpc_release(reply_message_);
     reply_message_ = NULL;
   }
+#endif
 }
 
 }  // namespace sandbox
