summary refs log tree commit diff
path: root/include/compat/netinet/in.h
blob: d1afb27dfe59c2bec32baae28d1720ff10b08a3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Public domain
 * netinet/in.h compatibility shim
 */

#ifndef _WIN32
#include_next <netinet/in.h>
#else
#include <win32netcompat.h>
#endif

#ifndef LIBCRYPTOCOMPAT_NETINET_IN_H
#define LIBCRYPTOCOMPAT_NETINET_IN_H

#ifdef __ANDROID__
typedef uint16_t in_port_t;
#endif

#endif