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:
Ron Eldor 2018-02-14 16:02:41 +02:00
parent 01b34fb316
commit 8b0cf2e76f
22 changed files with 129 additions and 0 deletions

View file

@ -25,6 +25,12 @@
* This file is part of mbed TLS (https://tls.mbed.org)
*/
#if !defined(MBEDTLS_CONFIG_FILE)
#include "config.h"
#else
#include MBEDTLS_CONFIG_FILE
#endif
#if ! defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)