diff --git a/toonz/sources/tcomposer/tcomposer.cpp b/toonz/sources/tcomposer/tcomposer.cpp
index f7fc944..8c79b1c 100644
--- a/toonz/sources/tcomposer/tcomposer.cpp
+++ b/toonz/sources/tcomposer/tcomposer.cpp
@@ -74,6 +74,14 @@
 #include <QWaitCondition>
 #include <QMessageBox>
 
+
+#ifdef _WIN32
+#ifndef x64
+#include <float.h>
+#endif
+#endif
+
+
 //==================================================================================
 
 using namespace std;
diff --git a/toonz/sources/toonz/main.cpp b/toonz/sources/toonz/main.cpp
index 8ae73fc..8d93307 100644
--- a/toonz/sources/toonz/main.cpp
+++ b/toonz/sources/toonz/main.cpp
@@ -82,6 +82,14 @@
 #include <QLibraryInfo>
 #include <QHash>
 
+
+#ifdef _WIN32
+#ifndef x64
+#include <float.h>
+#endif
+#endif
+
+
 using namespace DVGui;
 #if defined LINETEST
 const char *applicationName    = "Toonz LineTest";