Added error.h inclusion in error.c template
(cherry picked from commit ac6168b95e7abf22dcab50c8487db231e986d2ec)
diff --git a/scripts/data_files/error.fmt b/scripts/data_files/error.fmt
index ee92757..93d1e4e 100644
--- a/scripts/data_files/error.fmt
+++ b/scripts/data_files/error.fmt
@@ -27,6 +27,8 @@
 
 #if defined(POLARSSL_ERROR_C)
 
+#include "polarssl/error.h"
+
 HEADER_INCLUDED
 
 #include <string.h>