aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 4d8af2e6d..81b797334 100644
--- a/config.h.in
+++ b/config.h.in
@@ -134,6 +134,11 @@
#cmakedefine HAVE_CLOCK_GETTIME 1
+#cmakedefine GLIB_COMPAT 1
+#cmakedefine GLIB_RE_COMPAT 1
+#cmakedefine GLIB_UNISCRIPT_COMPAT 1
+#cmakedefine GLIB_HASH_COMPAT 1
+
#define RVERSION "${RSPAMD_VERSION}"
#define RID "${ID}"
#define RSPAMD_MASTER_SITE_URL "${RSPAMD_MASTER_SITE_URL}"
@@ -335,6 +340,17 @@
#include <event.h>
#include <glib.h>
+
+#ifdef GLIB_RE_COMPAT
+#include "gregex.h"
+#endif
+#ifdef GLIB_UNISCRIPT_COMPAT
+#include "guniscript.h"
+#endif
+#ifdef GLIB_COMPAT
+#include "gchecksum.h"
+#endif
+
#ifndef BUILD_STATIC
#include <gmodule.h>
#endif