summaryrefslogtreecommitdiffstats
path: root/client/x11/platform.cpp
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-28 21:27:10 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-28 21:54:53 +0200
commit7e26ff3c2631a232ea3bc20ed842c47cc5db7526 (patch)
treee1edcffaa20237d7eb12ab77b73f53e9a983d0ff /client/x11/platform.cpp
parentb08b80d13ff8a6822364e792391473dc53913dca (diff)
downloadspice-7e26ff3c2631a232ea3bc20ed842c47cc5db7526.tar.gz
spice-7e26ff3c2631a232ea3bc20ed842c47cc5db7526.tar.xz
spice-7e26ff3c2631a232ea3bc20ed842c47cc5db7526.zip
Replace log4cpp with custom log function
Also prints a simpler error to stderr for WARN or above so that we print something on the commandline if something go wrong.
Diffstat (limited to 'client/x11/platform.cpp')
-rw-r--r--client/x11/platform.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index 92264546..8fe1f726 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -33,6 +33,7 @@
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/syscall.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <set>