diff --git a/src/libethash/mmap_win32.c b/src/libethash/mmap_win32.c index 42968b98..faff3025 100644 --- a/src/libethash/mmap_win32.c +++ b/src/libethash/mmap_win32.c @@ -14,6 +14,7 @@ #include #include #include "mmap.h" +#pragma comment(lib, "Shell32.lib") #ifdef __USE_FILE_OFFSET64 # define DWORD_HI(x) (x >> 32) diff --git a/src/python/core.c b/src/python/core.c index c66e03c5..6a687e89 100644 --- a/src/python/core.c +++ b/src/python/core.c @@ -1,5 +1,9 @@ #include +#if defined(_WIN32) || defined(WIN32) +#include +#else #include +#endif #include #include #include