summaryrefslogtreecommitdiffstats
path: root/src/password.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-02-25 15:05:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-04-10 12:47:05 +0200
commit360e269df56279904ac6f2913e8f0c3f786aa8fb (patch)
treec750e24ab8e04477f2019952d9d1117b0f803be8 /src/password.cpp
parentd04c627887b467cb88f00121d424ee408c0a9a4a (diff)
downloadbasket-360e269df56279904ac6f2913e8f0c3f786aa8fb.tar.gz
basket-360e269df56279904ac6f2913e8f0c3f786aa8fb.zip
Fix support for GCC hidden visibility.
Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d175607a268b6cc9dfeaeff1d0a38cf72201ad84)
Diffstat (limited to 'src/password.cpp')
-rw-r--r--src/password.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/password.cpp b/src/password.cpp
index 55e5c21..b13fc0d 100644
--- a/src/password.cpp
+++ b/src/password.cpp
@@ -18,7 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include "password.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#ifdef HAVE_LIBGPGME
@@ -32,6 +34,8 @@
#include <kgpgme.h>
#include <basket.h>
+#include "password.h"
+
PasswordDlg::PasswordDlg(TQWidget *parent, const char *name)
:KDialogBase(Plain, i18n("Password Protection"), Ok|Cancel, Ok,
parent, name, /*modal=*/true, /*separator=*/true), w(0)