Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Wagener <wagener@gmail.com>2020-05-10 19:19:02 +0300
committerGitHub <noreply@github.com>2020-05-10 19:19:02 +0300
commit73092c664dc3baa7e95394c530f740edf33f14b9 (patch)
tree86398fb3775e550139685b7f5593af42df8e79ad
parent7be8bb7021bfe8e2ea79f572e798e17494253a5c (diff)
Add cstring include for Linux compilation (#3)
Without cstring, g++ on my raspberry pi complains about using strlen. So I include it here. It doesn't seem to do any harm on Windows.
-rw-r--r--ArcWelderConsole/ArcWelderConsole.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ArcWelderConsole/ArcWelderConsole.cpp b/ArcWelderConsole/ArcWelderConsole.cpp
index c96d4e7..11e220a 100644
--- a/ArcWelderConsole/ArcWelderConsole.cpp
+++ b/ArcWelderConsole/ArcWelderConsole.cpp
@@ -23,6 +23,7 @@
// FormerLurker@pm.me
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "ArcWelderConsole.h"
+#include <cstring>
#include <iostream>
#include <sstream>
#include <iomanip>
@@ -227,4 +228,4 @@ static bool on_progress(arc_welder_progress progress)
{
std::cout << progress.str();
return true;
-} \ No newline at end of file
+}