diff options
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/connection.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdeio/kurlcompletion.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tdeio/tdeio/connection.cpp b/tdeio/tdeio/connection.cpp index 50427aecf..fa316f56d 100644 --- a/tdeio/tdeio/connection.cpp +++ b/tdeio/tdeio/connection.cpp @@ -43,7 +43,7 @@ #include <kdebug.h> #include <tqsocketnotifier.h> -#if defined(__OpenBSD__) +#if defined(__OpenBSD__) || defined(__FreeBSD__) #define __progname getprogname() #else extern char *__progname; diff --git a/tdeio/tdeio/kurlcompletion.cpp b/tdeio/tdeio/kurlcompletion.cpp index 9184e0d02..890f9f28c 100644 --- a/tdeio/tdeio/kurlcompletion.cpp +++ b/tdeio/tdeio/kurlcompletion.cpp @@ -778,13 +778,13 @@ bool KURLCompletion::userCompletion(const MyURL &url, TQString *match) // Environment variables // -#if !defined(__OpenBSD__) +#if !defined(__OpenBSD__) && !defined(__FreeBSD__) extern char **environ; // Array of environment variables #endif bool KURLCompletion::envCompletion(const MyURL &url, TQString *match) { -#if defined(__OpenBSD__) +#if defined(__OpenBSD__) || defined(__FreeBSD__) return false; #else if ( url.file().at(0) != '$' ) |