summaryrefslogtreecommitdiffstats
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>2014-10-05 16:37:12 +0200
commit9c7a8637edeafb8abe66c2767837dfeb5f058537 (patch)
tree969d2d0450a37c942f4640b580ad9cc3dec5c04c
parentb588c6e6bde4c3330b2e3378ca3447b16cb89bbf (diff)
downloadtdelibs-9c7a8637edeafb8abe66c2767837dfeb5f058537.tar.gz
tdelibs-9c7a8637edeafb8abe66c2767837dfeb5f058537.zip
Fix FTBFS because undefined __progname in tdeio_connection
-rw-r--r--tdeio/tdeio/connection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdeio/tdeio/connection.cpp b/tdeio/tdeio/connection.cpp
index 119ab6a10..50427aecf 100644
--- a/tdeio/tdeio/connection.cpp
+++ b/tdeio/tdeio/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 TDEIO;