summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-05 16:37:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:22:51 +0100
commite703480d0d76933cffd6dfbacb7dfc75a59ecbf6 (patch)
treee434ed755ff22323d671927807cbf85aa79e5556 /kio
parentd1be1be19f3e2b27c834763a8a18a2b93e98bc3c (diff)
downloadtdelibs-e703480d0d76933cffd6dfbacb7dfc75a59ecbf6.tar.gz
tdelibs-e703480d0d76933cffd6dfbacb7dfc75a59ecbf6.zip
Fix FTBFS because undefined __progname in tdeio_connection
(cherry picked from commit 9c7a8637edeafb8abe66c2767837dfeb5f058537)
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/connection.cpp4
1 files changed, 4 insertions, 0 deletions
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 <kdebug.h>
#include <tqsocketnotifier.h>
+#if defined(__OpenBSD__)
+#define __progname getprogname()
+#else
extern char *__progname;
+#endif
using namespace KIO;