diff options
-rw-r--r-- | X11/controller.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/X11/controller.cpp b/X11/controller.cpp index dc70a8c..7faafaa 100644 --- a/X11/controller.cpp +++ b/X11/controller.cpp @@ -51,6 +51,7 @@ extern "C" { # include <unistd.h> # include <fcntl.h> # include <sys/socket.h> +# include <sys/stat.h> # include <sys/types.h> # include <sys/un.h> # include <sys/wait.h> @@ -315,7 +316,7 @@ std::string SpiceController::WriteCAFile(const std::string &ca_cert) else { g_critical("could not create truststore temp file: %s", g_strerror(errno)); - return std::string() + return std::string(); } return std::string(trust_store_template); |