mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-24 20:42:59 +00:00
Include configuration file to headers
Add inclusion to configration file in header files, instead of relying on other header files to include the configuration file. This issue resolves #1371
This commit is contained in:
@@ -24,6 +24,12 @@
|
||||
#ifndef MBEDTLS_SSL_COOKIE_H
|
||||
#define MBEDTLS_SSL_COOKIE_H
|
||||
|
||||
#if !defined(MBEDTLS_CONFIG_FILE)
|
||||
#include "config.h"
|
||||
#else
|
||||
#include MBEDTLS_CONFIG_FILE
|
||||
#endif
|
||||
|
||||
#include "ssl.h"
|
||||
|
||||
#if defined(MBEDTLS_THREADING_C)
|
||||
|
||||
Reference in New Issue
Block a user