Fixed Linux compile issues

This commit is contained in:
Ben Gräf 2017-10-06 22:00:22 +02:00
parent 5591666069
commit eebb10c18e
4 changed files with 6 additions and 6 deletions

View file

@ -50,8 +50,8 @@ static void print_versions()
# endif # endif
Log::i()->text(Options::i()->colors() ? "\x1B[01;32m * \x1B[01;37mVERSIONS: \x1B[01;36mXMRig/%s\x1B[01;37m libuv/%s%s" : " * VERSIONS: XMRig/%s libuv/%s%s", Log::i()->text(Options::i()->colors() ? "\x1B[01;32m * \x1B[01;37mVERSIONS: \x1B[01;36m%s/%s\x1B[01;37m libuv/%s%s" : " * VERSIONS: %s/%s libuv/%s%s",
APP_VERSION, uv_version_string(), buf); APP_NAME, APP_VERSION, uv_version_string(), buf);
} }
@ -147,6 +147,3 @@ void Summary::print()
print_pools(); print_pools();
print_commands(); print_commands();
} }

View file

@ -22,6 +22,8 @@
*/ */
#include <cstring>
#include "api/Api.h" #include "api/Api.h"
#include "api/ApiState.h" #include "api/ApiState.h"

View file

@ -21,7 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <cstring>
#include <microhttpd.h> #include <microhttpd.h>

View file

@ -23,6 +23,7 @@
#include <algorithm> #include <algorithm>
#include <cstring>
#include <uv.h> #include <uv.h>