diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h new file mode 100644 index 0000000..0126a60 --- /dev/null +++ b/include/arpa/nameser.h @@ -0,0 +1,23 @@ +/* + * Public domain + * arpa/inet.h compatibility shim + */ + +#ifndef _WIN32 +#include_next +#else +#include + +#ifndef INADDRSZ +#define INADDRSZ 4 +#endif + +#ifndef IN6ADDRSZ +#define IN6ADDRSZ 16 +#endif + +#ifndef INT16SZ +#define INT16SZ 2 +#endif + +#endif