pineapple-src/externals/libressl/include/compat/arpa/nameser.h

26 lines
314 B
C
Raw Normal View History

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