From cbb682e6b86e0b462cef73fdaad61e4be83b06b6 Mon Sep 17 00:00:00 2001 From: Matteo Varalta <matteo.varalta@txtgroup.com> Date: 周二, 23 4月 2019 17:07:40 +0800 Subject: [PATCH] Porting to Centos 7: xfs file system, cmake 2.8.11 in example, static linking for -lgcc_s --- src/library/base/StringUtils.cpp | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/library/base/StringUtils.cpp b/src/library/base/StringUtils.cpp index 14b9bc6..97675b7 100644 --- a/src/library/base/StringUtils.cpp +++ b/src/library/base/StringUtils.cpp @@ -2,7 +2,7 @@ * StringUtils.cpp * * Created on: Apr 8, 2014 - * Author: devel + * */ #include <cctype> //toupper @@ -11,6 +11,11 @@ #include <string> #include <cstring> #include <algorithm> +#include <stdexcept> + +#ifdef _WIN32 +#include <time.h> //mktime under windows +#endif namespace license { using namespace std; -- Gitblit v1.9.1