diff --git a/client/config/polyesterconfig.cc b/client/config/polyesterconfig.cc index 0a55b16..df1a5e7 100755 --- a/client/config/polyesterconfig.cc +++ b/client/config/polyesterconfig.cc @@ -197,7 +197,7 @@ void polyesterConfig::defaults() { ////////////////////////////////////////////////////////////////////////////// extern "C" { - TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { + KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { return (new polyesterConfig(config, parent)); } } diff --git a/client/polyester.cc b/client/polyester.cc index edafebd..91c06fe 100755 --- a/client/polyester.cc +++ b/client/polyester.cc @@ -76,7 +76,7 @@ const char default_right[] = "HIAX"; static const uint TIMERINTERVAL = 25; // msec static const uint ANIMATIONSTEPS = 20; -extern "C" KDecorationFactory* create_factory() { +extern "C" KDE_EXPORT KDecorationFactory* create_factory() { return new polyester::polyesterFactory(); }