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

26 lines
314 B
C
Raw Normal View History

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