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