From b216f39a52d87e48b2399da5e3272a9a464ac359 Mon Sep 17 00:00:00 2001 From: fireice-uk Date: Tue, 26 Dec 2017 21:11:22 +0000 Subject: Busywork courtesy of Microsoft Add messages Missing include 1 --- xmrstak/backend/cpu/crypto/cryptonight_common.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmrstak/backend/cpu/crypto') diff --git a/xmrstak/backend/cpu/crypto/cryptonight_common.cpp b/xmrstak/backend/cpu/crypto/cryptonight_common.cpp index 583deff..547b104 100644 --- a/xmrstak/backend/cpu/crypto/cryptonight_common.cpp +++ b/xmrstak/backend/cpu/crypto/cryptonight_common.cpp @@ -31,6 +31,7 @@ extern "C" #include "cryptonight.h" #include "cryptonight_aesni.h" #include "xmrstak/backend/cryptonight.hpp" +#include "xmrstak/misc/console.hpp" #include "xmrstak/jconf.hpp" #include #include @@ -178,6 +179,7 @@ size_t cryptonight_init(size_t use_fast_mem, size_t use_mlock, alloc_msg* msg) if(AddPrivilege(TEXT("SeLockMemoryPrivilege")) == 0) { + printer::inst()->print_msg(L0, "Elevating because we need to set up fast memory privileges."); RequestElevation(); if(AddLargePageRights()) -- cgit v1.1