2020-12-28 19:15:37 +04:00
|
|
|
/*
|
|
|
|
* Public domain
|
|
|
|
* arpa/inet.h compatibility shim
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _WIN32
|
2022-04-25 00:29:35 +04:00
|
|
|
#ifdef HAVE_ARPA_NAMESER_H
|
2020-12-28 19:15:37 +04:00
|
|
|
#include_next <arpa/nameser.h>
|
2022-04-25 00:29:35 +04:00
|
|
|
#endif
|
2020-12-28 19:15:37 +04:00
|
|
|
#else
|
|
|
|
#include <win32netcompat.h>
|
|
|
|
|
|
|
|
#ifndef INADDRSZ
|
|
|
|
#define INADDRSZ 4
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IN6ADDRSZ
|
|
|
|
#define IN6ADDRSZ 16
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef INT16SZ
|
|
|
|
#define INT16SZ 2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|