commit | 6fa5c1d20c93d998b64c668e0e7d91771545d237 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Thu Nov 25 18:12:44 2021 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Thu Nov 25 18:12:44 2021 +0100 |
tree | ac1ead23753484fcaa589251dbb598a9d62f1129 | |
parent | 8e8e96500a49e0bb0aabe7909410d2a97b182b9b [diff] [blame] |
Use the normal idiom to support MBEDTLS_CONFIG_FILE Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/programs/test/dlopen.c b/programs/test/dlopen.c index e31cae1..2ee5316 100644 --- a/programs/test/dlopen.c +++ b/programs/test/dlopen.c
@@ -17,7 +17,11 @@ * limitations under the License. */ +#if !defined(MBEDTLS_CONFIG_FILE) #include "mbedtls/config.h" +#else +#include MBEDTLS_CONFIG_FILE +#endif #include "mbedtls/platform.h" #if !defined(MBEDTLS_PLATFORM_C)