]> git.sesse.net Git - freerainbowtables/blobdiff - Client Applications/rcracki_mt/Public.h
Fix O(n^2) behavior in ReadLinesFromFile().
[freerainbowtables] / Client Applications / rcracki_mt / Public.h
index 050884242c1b2799be8789b9b109d146a679e5ff..2241cbf41358d634a50b813a3e56ee9db77e7b84 100644 (file)
 #include <stdlib.h>\r
 #include <string.h>\r
 \r
+#include <algorithm>\r
 #include <string>\r
 #include <vector>\r
 #include <list>\r
+#include <map>\r
 \r
 #include "global.h"\r
 \r
 using namespace std;\r
 \r
-\r
 struct RainbowChainO\r
 {\r
        uint64 nIndexS;\r
@@ -114,9 +115,7 @@ void tty_flush(void);
 \r
 #if defined(_WIN32) && !defined(__GNUC__)\r
        int gettimeofday( struct timeval *tv, struct timezone *tz );\r
-#endif\r
-\r
-#if !defined(_WIN32) || defined(__GNUC__)\r
+#else\r
        #include <sys/time.h>\r
 #endif\r
 \r