Adapt sources to configurable config.h name
diff --git a/scripts/data_files/error.fmt b/scripts/data_files/error.fmt index 969cd95..30ee257 100644 --- a/scripts/data_files/error.fmt +++ b/scripts/data_files/error.fmt
@@ -1,7 +1,7 @@ /* * Error message information * - * Copyright (C) 2006-2012, Brainspark B.V. + * Copyright (C) 2006-2014, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> @@ -23,7 +23,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#if !defined(POLARSSL_CONFIG_FILE) #include "polarssl/config.h" +#else +#include POLARSSL_CONFIG_FILE +#endif #if defined(POLARSSL_ERROR_C)
diff --git a/scripts/data_files/version_features.fmt b/scripts/data_files/version_features.fmt index 099e82a..c6a424f 100644 --- a/scripts/data_files/version_features.fmt +++ b/scripts/data_files/version_features.fmt
@@ -23,7 +23,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#if !defined(POLARSSL_CONFIG_FILE) #include "polarssl/config.h" +#else +#include POLARSSL_CONFIG_FILE +#endif #if defined(POLARSSL_VERSION_C)