diff options
author | Harald Wagener <wagener@gmail.com> | 2020-05-10 19:19:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 19:19:02 +0300 |
commit | 73092c664dc3baa7e95394c530f740edf33f14b9 (patch) | |
tree | 86398fb3775e550139685b7f5593af42df8e79ad /ArcWelderConsole | |
parent | 7be8bb7021bfe8e2ea79f572e798e17494253a5c (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.
Diffstat (limited to 'ArcWelderConsole')
-rw-r--r-- | ArcWelderConsole/ArcWelderConsole.cpp | 3 |
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 +} |