diff --git a/crypto/xmr-rpc.cpp b/crypto/xmr-rpc.cpp index e50b28a..82b7845 100644 --- a/crypto/xmr-rpc.cpp +++ b/crypto/xmr-rpc.cpp @@ -30,6 +30,10 @@ #define MADV_HUGEPAGE 0 #endif +#ifndef MADV_HUGEPAGE +#define MADV_HUGEPAGE 0 +#endif + #ifndef PRIu64 #define PRIu64 "I64u" #endif