Better fix for MSVC.

This commit is contained in:
XMRig
2017-08-17 07:33:21 +03:00
parent e3dd4a6581
commit fc1d6c7e84
7 changed files with 50 additions and 20 deletions

View File

@@ -21,7 +21,7 @@
#include <sched.h>
#endif
#if defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif