diff options
author | Brent Cook <busterb@gmail.com> | 2019-01-17 18:34:44 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2019-01-17 18:34:44 -0600 |
commit | 7032d88bfd6a28e9ea72b08d14feb5775def3e2f (patch) | |
tree | a0c8fb22edc9b5771ddf4136f097a870dec2993f /include | |
parent | 7f063e116a1d15a3522241788e766eaf48130dd6 (diff) | |
parent | 3247230d47b896afa0819415ed953e9e9af57dfe (diff) | |
download | portable-7032d88bfd6a28e9ea72b08d14feb5775def3e2f.tar.gz portable-7032d88bfd6a28e9ea72b08d14feb5775def3e2f.tar.bz2 portable-7032d88bfd6a28e9ea72b08d14feb5775def3e2f.zip |
Land #488, Android build fixes
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 | ||