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:
parent
01b34fb316
commit
8b0cf2e76f
22 changed files with 129 additions and 0 deletions
|
@ -28,6 +28,12 @@
|
|||
#ifndef MBEDTLS_CMAC_H
|
||||
#define MBEDTLS_CMAC_H
|
||||
|
||||
#if !defined(MBEDTLS_CONFIG_FILE)
|
||||
#include "config.h"
|
||||
#else
|
||||
#include MBEDTLS_CONFIG_FILE
|
||||
#endif
|
||||
|
||||
#include "cipher.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue