#ifndef BITCOIN_UTIL_H
#define BITCOIN_UTIL_H
-#include <inttypes.h>
+
#include "uint256.h"
#ifndef WIN32
#include <stdarg.h>
+#if defined(__USE_MINGW_ANSI_STDIO)
+#undef __USE_MINGW_ANSI_STDIO // This constant forces MinGW to conduct stupid behavior
+#endif
+#include <inttypes.h>
+
#include "netbase.h" // for AddTimeData