libevent/mbedtls-compat.h
2020-07-24 17:19:14 +08:00

12 lines
279 B
C

#ifndef MBEDTLS_COMPAT_H
#define MBEDTLS_COMPAT_H
#include <mbedtls/version.h>
#if MBEDTLS_VERSION_MAJOR < 2 || (MBEDTLS_VERSION_MAJOR == 2 && MBEDTLS_VERSION_MINOR < 4)
#include <mbedtls/net.h>
#else
#include <mbedtls/net_sockets.h>
#endif
#endif // LIBEVENT_MBEDTLS_COMPAT_H