diff --git a/source/glest_game/game/game_camera.cpp b/source/glest_game/game/game_camera.cpp index 8a5cb353..66d24b26 100644 --- a/source/glest_game/game/game_camera.cpp +++ b/source/glest_game/game/game_camera.cpp @@ -17,6 +17,7 @@ #include "game_constants.h" #include "xml_parser.h" #include "conversion.h" +#include "platform_common.h" #include "leak_dumper.h" diff --git a/source/shared_lib/include/feathery_ftp/ftpTypes.h b/source/shared_lib/include/feathery_ftp/ftpTypes.h index 4fea7d2c..b9312dab 100644 --- a/source/shared_lib/include/feathery_ftp/ftpTypes.h +++ b/source/shared_lib/include/feathery_ftp/ftpTypes.h @@ -60,6 +60,11 @@ typedef uint16_t port_t; #define TRUE 1 #endif +#if (defined WIN32) && !(defined snprintf) +#define snprintf _snprintf +#endif + + #ifdef __cplusplus extern "C" { #endif