mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-08 09:58:25 -05:00
20 lines
283 B
C
20 lines
283 B
C
|
/*
|
||
|
* 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
|