pkgsrc/finance/kmymoney2/patches/patch-af
joerg cae62889df Include config.h before kdemacro.h gets (indirectly) included.
Otherwise KDE_EXPORT doesn't get correctly defined, resulting in
link errors with visibility-enabled compilers.
2006-06-28 16:04:06 +00:00

15 lines
510 B
Text

$NetBSD: patch-af,v 1.3 2006/06/28 16:04:06 joerg Exp $
--- kmymoney2/plugins/kmymoneyplugin.cpp.orig 2006-06-28 15:53:31.000000000 +0000
+++ kmymoney2/plugins/kmymoneyplugin.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes