summaryrefslogtreecommitdiffstats
path: root/tdegtk
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-10-11 02:39:00 +0200
committerSlávek Banko <[email protected]>2021-10-11 02:39:00 +0200
commitd904bcf44acab87dd4bd0d28e7d5e5f12a9187d1 (patch)
tree90bb304568b317c0da7e60662e0cf02c405cebb2 /tdegtk
parent0e2c72790799d6043225910bd437bd54f5cc6989 (diff)
downloadgtk3-tqt-engine-d904bcf44acab87dd4bd0d28e7d5e5f12a9187d1.tar.gz
gtk3-tqt-engine-d904bcf44acab87dd4bd0d28e7d5e5f12a9187d1.zip
Do not enforce include <gmodule.h> to be as plain C
because it can lead to FTBFS. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdegtk')
-rw-r--r--tdegtk/tdegtk-theme.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdegtk/tdegtk-theme.cpp b/tdegtk/tdegtk-theme.cpp
index b99c485..842c10d 100644
--- a/tdegtk/tdegtk-theme.cpp
+++ b/tdegtk/tdegtk-theme.cpp
@@ -47,8 +47,9 @@ bool m_scrollbarForward1 = false;
bool m_scrollbarBack2 = false;
bool m_scrollbarForward2 = false;
+#include <gmodule.h>
+
extern "C" {
- #include <gmodule.h>
#include <gtk/gtk.h>
#include "tdegtk-engine.h"