summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdeio/kurlcompletion.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tdeio/tdeio/kurlcompletion.cpp b/tdeio/tdeio/kurlcompletion.cpp
index 72f91261d..9184e0d02 100644
--- a/tdeio/tdeio/kurlcompletion.cpp
+++ b/tdeio/tdeio/kurlcompletion.cpp
@@ -778,10 +778,15 @@ bool KURLCompletion::userCompletion(const MyURL &url, TQString *match)
// Environment variables
//
+#if !defined(__OpenBSD__)
extern char **environ; // Array of environment variables
+#endif
bool KURLCompletion::envCompletion(const MyURL &url, TQString *match)
{
+#if defined(__OpenBSD__)
+ return false;
+#else
if ( url.file().at(0) != '$' )
return false;
@@ -816,6 +821,7 @@ bool KURLCompletion::envCompletion(const MyURL &url, TQString *match)
*match = finished();
return true;
+#endif
}
//////////////////////////////////////////////////