Index: cryfs-0.10.2/src/cryfs-cli/Cli.cpp =================================================================== --- cryfs-0.10.2.orig/src/cryfs-cli/Cli.cpp +++ cryfs-0.10.2/src/cryfs-cli/Cli.cpp @@ -27,6 +27,7 @@ #include "Environment.h" #include #include +#include //TODO Many functions accessing the ProgramOptions object. Factor out into class that stores it as a member. //TODO Factor out class handling askPassword @@ -310,7 +311,7 @@ namespace cryfs_cli { //TODO Test that --logfile parameter works. Should be: file if specified, otherwise stderr if foreground, else syslog. if (options.logFile() != none) { cpputils::logging::setLogger( - spdlog::create>("cryfs", options.logFile()->string())); + spdlog::create>("cryfs", options.logFile()->string())); } else if (options.foreground()) { cpputils::logging::setLogger(spdlog::stderr_logger_mt("cryfs")); } else {