Fix curve list in dependency checking
diff --git a/include/polarssl/config.h b/include/polarssl/config.h
index 83f9dac..daec4e1 100644
--- a/include/polarssl/config.h
+++ b/include/polarssl/config.h
@@ -1974,7 +1974,11 @@
     !defined(POLARSSL_ECP_DP_SECP521R1_ENABLED) &&                  \
     !defined(POLARSSL_ECP_DP_BP256R1_ENABLED)   &&                  \
     !defined(POLARSSL_ECP_DP_BP384R1_ENABLED)   &&                  \
-    !defined(POLARSSL_ECP_DP_BP512R1_ENABLED) ) )
+    !defined(POLARSSL_ECP_DP_BP512R1_ENABLED)   &&                  \
+    !defined(POLARSSL_ECP_DP_M255_ENABLED)      &&                  \
+    !defined(POLARSSL_ECP_DP_SECP192K1_ENABLED) &&                  \
+    !defined(POLARSSL_ECP_DP_SECP224K1_ENABLED) &&                  \
+    !defined(POLARSSL_ECP_DP_SECP256K1_ENABLED) ) )
 #error "POLARSSL_ECP_C defined, but not all prerequisites"
 #endif