diff options
author | Jack Lloyd <[email protected]> | 2016-10-17 03:11:14 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-17 03:11:14 -0400 |
commit | 0b353965a56dabf7528eecf672cc627304dbb8e1 (patch) | |
tree | dedfd4db3cc140f4a4c2fbba8a566742bc735fd2 /src/lib/utils/calendar.cpp | |
parent | a816a52612cd8e9cf12bfdccaacc5ce7960b2700 (diff) | |
parent | 8b3bda479efecef760f052cc055d3d6d98bf0637 (diff) |
Merge GH #665 Add IncludeOS target, make filesystem/threads optional
Diffstat (limited to 'src/lib/utils/calendar.cpp')
-rw-r--r-- | src/lib/utils/calendar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/calendar.cpp b/src/lib/utils/calendar.cpp index 2ed90486a..4f6c835d1 100644 --- a/src/lib/utils/calendar.cpp +++ b/src/lib/utils/calendar.cpp @@ -11,7 +11,7 @@ #include <ctime> #include <sstream> #include <iomanip> -#include <mutex> +#include <botan/mutex.h> #include <stdlib.h> #if defined(BOTAN_HAS_BOOST_DATETIME) @@ -72,7 +72,7 @@ std::time_t boost_timegm(std::tm *tm) #pragma message "Caution! A fallback version of timegm() is used which is not thread-safe" -std::mutex ENV_TZ; +mutex_type ENV_TZ; std::time_t fallback_timegm(std::tm *tm) { |