diff --git a/src/tools.h b/src/tools.h
index 061bdbc..0b74072 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -18,12 +18,14 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
-#ifdef WIN32
+//#ifdef WIN32
+  #include <cstdint>
   typedef uint32_t uint;
-#endif
+//#endif
 #include <math.h>
 #include <dirent.h>
 
+
 using namespace std;
 
 #include <list>
