From 36cafeff5e584183f4404ec23c279dec08b84c80 Mon Sep 17 00:00:00 2001 From: xboxplayer9889 <90194169+xboxplayer9889@users.noreply.github.com> Date: Mon, 6 Sep 2021 14:11:08 +0200 Subject: [PATCH] Error compiling under Linux Error: xmrig-cuda-master/src/crypto/common/Algorithm.h(33): error: forward declaration of enum type is nonstandard xmrig-cuda-master/src/crypto/common/Algorithm.h(33): error: identifier "uint32_t" is undefined xmrig-cuda-master/src/crypto/common/Algorithm.h(33): error: incomplete type is not allowed xmrig-cuda-master/src/crypto/common/Algorithm.h(33): error: expected a ";" ... --- src/crypto/common/Algorithm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/crypto/common/Algorithm.h b/src/crypto/common/Algorithm.h index 37abdc1..cf38840 100644 --- a/src/crypto/common/Algorithm.h +++ b/src/crypto/common/Algorithm.h @@ -20,6 +20,9 @@ #ifndef XMRIG_ALGORITHM_H #define XMRIG_ALGORITHM_H +#ifndef uint32_t + #include +#endif #include