diff --git a/src/main.cpp b/src/main.cpp index ca7ad52..2b91ba0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,7 +49,7 @@ TDECmdLineOptions options[] = { { "force-acpi-check", I18N_NOOP("Force a new che static const char version[] = "0.7.x (0.7.3)"; bool trace = false; -extern "C" +extern "C" KDE_EXPORT int kdemain(int argc, char **argv) { TDEAboutData about("kpowersave", I18N_NOOP("KPowersave"), version, description,