| Index: runtime/bin/socket_macos.cc
 | 
| diff --git a/runtime/bin/socket_macos.cc b/runtime/bin/socket_macos.cc
 | 
| index 8306b56000162947fa27d60aac52615611c12bb1..624da8e80dc84e333a0d7f592f22302bfefbcd89 100644
 | 
| --- a/runtime/bin/socket_macos.cc
 | 
| +++ b/runtime/bin/socket_macos.cc
 | 
| @@ -2,6 +2,8 @@
 | 
|  // for details. All rights reserved. Use of this source code is governed by a
 | 
|  // BSD-style license that can be found in the LICENSE file.
 | 
|  
 | 
| +#if !defined(DART_IO_DISABLED)
 | 
| +
 | 
|  #include "platform/globals.h"
 | 
|  #if defined(TARGET_OS_MACOS)
 | 
|  
 | 
| @@ -623,3 +625,5 @@ bool Socket::LeaveMulticast(intptr_t fd,
 | 
|  }  // namespace dart
 | 
|  
 | 
|  #endif  // defined(TARGET_OS_MACOS)
 | 
| +
 | 
| +#endif  // !defined(DART_IO_DISABLED)
 | 
| 
 |