From e703480d0d76933cffd6dfbacb7dfc75a59ecbf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 5 Oct 2014 16:37:12 +0200 Subject: [PATCH] Fix FTBFS because undefined __progname in tdeio_connection (cherry picked from commit 9c7a8637edeafb8abe66c2767837dfeb5f058537) --- kio/kio/connection.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kio/kio/connection.cpp b/kio/kio/connection.cpp index a76a8f7f0..0e65643c8 100644 --- a/kio/kio/connection.cpp +++ b/kio/kio/connection.cpp @@ -43,7 +43,11 @@ #include #include +#if defined(__OpenBSD__) +#define __progname getprogname() +#else extern char *__progname; +#endif using namespace KIO;