Summary: | Compile error on Solaris 8 - fish/fish.cpp uses setenv which is not available on Solaris | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Steve Evans <stevee> |
Component: | fish | Assignee: | Jörg Walter <trouble> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Include <kdefakes.h> so setenv is defined on Solaris |
Description
Steve Evans
2007-05-17 17:50:15 UTC
Created attachment 20606 [details]
Include <kdefakes.h> so setenv is defined on Solaris
SVN commit 694860 by pino: #include kdefakes.h so we are sure to have the definition of setenv() BUGS: 145564, 145624, 145745, 145754, 147080 M +1 -0 apps/kdepasswd/passwd.cpp M +1 -0 runtime/kioslave/fish/fish.cpp M +1 -0 runtime/kurifilter-plugins/tests/kurifiltertest.cpp M +1 -0 workspace/kcminit/main.cpp M +1 -0 workspace/libs/workspace/kworkspace.cpp --- trunk/KDE/kdebase/apps/kdepasswd/passwd.cpp #694859:694860 @@ -27,6 +27,7 @@ #include <kdebug.h> #include <kstandarddirs.h> +#include <kdefakes.h> #include <kdesu/process.h> --- trunk/KDE/kdebase/runtime/kioslave/fish/fish.cpp #694859:694860 @@ -81,6 +81,7 @@ #include <fcntl.h> #include <errno.h> #include <sys/resource.h> +#include <kdefakes.h> #include "fish.h" #include "fishcode.h" --- trunk/KDE/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp #694859:694860 @@ -25,6 +25,7 @@ #include <ksharedconfig.h> #include <klocale.h> #include <kio/netaccess.h> +#include <kdefakes.h> #include <QtCore/QDir> #include <QtCore/QRegExp> --- trunk/KDE/kdebase/workspace/kcminit/main.cpp #694859:694860 @@ -43,6 +43,7 @@ #endif #include <kservicetypetrader.h> +#include <kdefakes.h> static int ready[ 2 ]; static bool startup = false; --- trunk/KDE/kdebase/workspace/libs/workspace/kworkspace.cpp #694859:694860 @@ -30,6 +30,7 @@ #include <QtDBus/QtDBus> #include <stdlib.h> // getenv() #include <ksmserver_interface.h> +#include <kdefakes.h> #ifdef Q_WS_X11 #include <X11/Xlib.h> |