diff --git a/mongoose.h b/mongoose.h index 0f85b18b..e84ea491 100644 --- a/mongoose.h +++ b/mongoose.h @@ -126,6 +126,9 @@ /* Amalgamated: #include "common/platforms/platform_nxp_kinetis.h" */ /* Amalgamated: #include "common/platforms/platform_pic32.h" */ /* Amalgamated: #include "common/platforms/platform_stm32.h" */ +#if CS_PLATFORM == CS_P_CUSTOM +/* Amalgamated: #include "platform_custom.h" */ +#endif /* Common stuff */ diff --git a/src/common/platform.h b/src/common/platform.h index af0b4f50..d02703fc 100644 --- a/src/common/platform.h +++ b/src/common/platform.h @@ -90,6 +90,9 @@ #include "common/platforms/platform_nxp_kinetis.h" #include "common/platforms/platform_pic32.h" #include "common/platforms/platform_stm32.h" +#if CS_PLATFORM == CS_P_CUSTOM +#include "platform_custom.h" +#endif /* Common stuff */