aboutsummaryrefslogtreecommitdiff
path: root/externals/libressl/include/compat/resolv.h
blob: b8044605c15c392b8696912261fe83d0664e2f12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Public domain
 * resolv.h compatibility shim
 */

#ifndef LIBCRYPTOCOMPAT_RESOLV_H
#define LIBCRYPTOCOMPAT_RESOLV_H

#ifdef _MSC_VER
#if _MSC_VER >= 1900
#include <../ucrt/resolv.h>
#else
#include <../include/resolv.h>
#endif
#elif defined(HAVE_RESOLV_H)
#include_next <resolv.h>
#endif

#ifndef HAVE_B64_NTOP
int b64_ntop(unsigned char const *, size_t, char *, size_t);
int b64_pton(char const *, unsigned char *, size_t);
#endif

#endif