OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RUNTIME_BIN_SOCKET_BASE_ANDROID_H_ | 5 #ifndef RUNTIME_BIN_SOCKET_MACOS_H_ |
6 #define RUNTIME_BIN_SOCKET_BASE_ANDROID_H_ | 6 #define RUNTIME_BIN_SOCKET_MACOS_H_ |
7 | 7 |
8 #if !defined(RUNTIME_BIN_SOCKET_BASE_H_) | 8 #if !defined(RUNTIME_BIN_SOCKET_H_) |
9 #error Do not include socket_base_android.h directly. Use socket_base.h. | 9 #error Do not include socket_macos.h directly. Use socket.h. |
10 #endif | 10 #endif |
11 | 11 |
12 #include <arpa/inet.h> | 12 #include <arpa/inet.h> |
13 #include <netdb.h> | 13 #include <netdb.h> |
14 #include <sys/socket.h> | 14 #include <sys/socket.h> |
15 | 15 |
16 #endif // RUNTIME_BIN_SOCKET_BASE_ANDROID_H_ | 16 #endif // RUNTIME_BIN_SOCKET_MACOS_H_ |
OLD | NEW |