X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnet.h;h=bb0620641b3d26bd9edca743cb0bf0abdc4f1494;hb=d008ea3376606276a86ed3c972654363eb23f47d;hp=ddcaa1548f2a14a1fb87bfab1d968baa71717234;hpb=aff47bd084ec500155c7ce37f831d260dc6fd8e8;p=novacoin.git diff --git a/src/net.h b/src/net.h index ddcaa15..bb06206 100644 --- a/src/net.h +++ b/src/net.h @@ -6,8 +6,10 @@ #define BITCOIN_NET_H #include +#ifndef Q_MOC_RUN #include #include +#endif #include #ifndef WIN32 @@ -336,7 +338,7 @@ public: // the key is the earliest time the request can be sent int64& nRequestTime = mapAlreadyAskedFor[inv]; if (fDebugNet) - printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str()); + printf("askfor %s %" PRI64d " (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str()); // Make sure not to reuse time indexes to keep things in the same order int64 nNow = (GetTime() - 1) * 1000000;