summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-11-16 17:44:33 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-11-16 17:44:33 +0100
commitb5d38b70eb87f99c537b33b0fab14343d2339477 (patch)
tree79f24217aff686479e907524a794ddb47a60086e
parente5d2a6a6b6d8bf551d9d8a396bbd21268e18593b (diff)
Fix X11 compilation
One header was missing for umask(), and one ; was missing at the end of a line.
-rw-r--r--X11/controller.cpp3
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);