Move #include "common.h" where config.h used to be
After removing config.h, the inclusion of it in common.h would be too late
in the code. Therefore common.h has been moved to where config.h used to
be included.
Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
diff --git a/library/psa_crypto_storage.c b/library/psa_crypto_storage.c
index f5ed269..b485c50 100644
--- a/library/psa_crypto_storage.c
+++ b/library/psa_crypto_storage.c
@@ -18,6 +18,8 @@
* limitations under the License.
*/
+#include "common.h"
+
#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
#include <stdlib.h>
@@ -42,8 +44,6 @@
#define mbedtls_free free
#endif
-#include "common.h"
-
/****************************************************************/
/* Key storage */
/****************************************************************/