summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:32:32 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:32:32 +0100
commit1762f553a9fcf9fe2719431409e8d466b3a3a8da (patch)
treeb38b09155062ba234a7f0b2039c8d1496b3c7b42
parentc6801e892f3a5c8db18bfe3e358832fc15976557 (diff)
downloadtdepowersave-1762f553a9fcf9fe2719431409e8d466b3a3a8da.tar.gz
tdepowersave-1762f553a9fcf9fe2719431409e8d466b3a3a8da.zip
Fix build with GCC hidden visibility
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d44b70c..85fc8fe 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("tdepowersave", I18N_NOOP("TDEPowersave"), version, description,