From 8de65bb1a357b6743b08c8b71405e22aa0d9e363 Mon Sep 17 00:00:00 2001 From: Alexey Shilov Date: Thu, 17 Mar 2011 14:22:10 +0200 Subject: [PATCH] Fixes: NB#236033 - applauncherd does not build with gcc-4.5 RevBy: TrustMe --- debian/changelog | 1 + src/single-instance/main.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1bf112e..e6a4f06 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ applauncherd (0.23.0) unstable; urgency=low * Changes: Removed extra prctl(PR_SET_DUMPABLE, ...) * Changes: e-booster refactoring * Changes: removed compilation warnings + * Fixes: NB#236033 - applauncherd does not build with gcc-4.5 -- Alexey Shilov Thu, 10 Mar 2011 14:52:40 +0200 diff --git a/src/single-instance/main.cpp b/src/single-instance/main.cpp index 0cc2ec5..0024e6a 100644 --- a/src/single-instance/main.cpp +++ b/src/single-instance/main.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #define DECL_EXPORT extern "C" __attribute__ ((__visibility__("default"))) @@ -337,7 +338,7 @@ int main(int argc, char **argv) if (execve(argv[1], argv + 1, environ) == -1) { std::cerr << "ERROR!!: Failed to exec binary '" << - argv[1] << "̈́' : " << strerror(errno) << std::endl; + argv[1] << "' : " << strerror(errno) << std::endl; unlock(); return EXIT_FAILURE;