mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-10 14:48:25 -05:00
24 lines
280 B
C
24 lines
280 B
C
|
/*
|
||
|
* Public domain
|
||
|
* arpa/inet.h compatibility shim
|
||
|
*/
|
||
|
|
||
|
#ifndef _WIN32
|
||
|
#include_next <arpa/nameser.h>
|
||
|
#else
|
||
|
#include <win32netcompat.h>
|
||
|
|
||
|
#ifndef INADDRSZ
|
||
|
#define INADDRSZ 4
|
||
|
#endif
|
||
|
|
||
|
#ifndef IN6ADDRSZ
|
||
|
#define IN6ADDRSZ 16
|
||
|
#endif
|
||
|
|
||
|
#ifndef INT16SZ
|
||
|
#define INT16SZ 2
|
||
|
#endif
|
||
|
|
||
|
#endif
|