summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;