]> git.sesse.net Git - freerainbowtables/blobdiff - Client Applications/rcracki_mt/Public.h
0.6.5 release synced from rcracki.sourceforge.net
[freerainbowtables] / Client Applications / rcracki_mt / Public.h
index 13fb0d380eb44d2f7bf2af3b5815e113c6912ad0..27d4dcda5a99703a651412695d4cb4d9c4847371 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright 2009, 2010 DaniĆ«l Niggebrugge <niggebrugge@fox-it.com>\r
  * Copyright 2009, 2010 James Nobis <frt@quelrod.net>\r
  *\r
- * This file is part of racrcki_mt.\r
+ * This file is part of rcracki_mt.\r
  *\r
  * rcracki_mt is free software: you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
@@ -109,13 +109,16 @@ void tty_done();
 void tty_init();\r
 void tty_flush(void);\r
 // end nmap code\r
+#endif\r
 \r
-#include <sys/time.h>\r
-\r
-#else\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
+       #include <sys/time.h>\r
+#endif\r
+\r
 timeval sub_timeofday( timeval tv2, timeval tv );\r
 \r
 unsigned int GetFileLen(FILE* file);\r