diff options
| author | Brent Cook <busterb@gmail.com> | 2019-01-01 23:07:00 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2019-01-07 06:46:03 -0600 |
| commit | b6479e01f64ef3f1f0616592f5139956c8b6dc25 (patch) | |
| tree | f5ac49e58e9fb91a8f263411c9534215f781fe04 /include | |
| parent | 3f189a24f23d5540441384ad2581f3f4886344df (diff) | |
| download | portable-b6479e01f64ef3f1f0616592f5139956c8b6dc25.tar.gz portable-b6479e01f64ef3f1f0616592f5139956c8b6dc25.tar.bz2 portable-b6479e01f64ef3f1f0616592f5139956c8b6dc25.zip | |
define in_port_t for Android
Diffstat (limited to 'include')
| -rw-r--r-- | include/compat/netinet/in.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/compat/netinet/in.h b/include/compat/netinet/in.h index 20e57b8..d1afb27 100644 --- a/include/compat/netinet/in.h +++ b/include/compat/netinet/in.h | |||
| @@ -8,3 +8,12 @@ | |||
| 8 | #else | 8 | #else |
| 9 | #include <win32netcompat.h> | 9 | #include <win32netcompat.h> |
| 10 | #endif | 10 | #endif |
| 11 | |||
| 12 | #ifndef LIBCRYPTOCOMPAT_NETINET_IN_H | ||
| 13 | #define LIBCRYPTOCOMPAT_NETINET_IN_H | ||
| 14 | |||
| 15 | #ifdef __ANDROID__ | ||
| 16 | typedef uint16_t in_port_t; | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #endif | ||
