diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-14 15:01:18 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-14 15:01:18 +0300 |
commit | 7072f8548414cf0e88babd7556f1f893c93ba3dc (patch) | |
tree | 5f2d81895262e14a5312f62f99aa5640c0742924 /src/util.h | |
parent | cb60d35f154aba2d931b0734b0cae9f728278a9c (diff) | |
download | rspamd-7072f8548414cf0e88babd7556f1f893c93ba3dc.tar.gz rspamd-7072f8548414cf0e88babd7556f1f893c93ba3dc.zip |
Add another workaround for CentOS.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index 95d5703bd..165b84334 100644 --- a/src/util.h +++ b/src/util.h @@ -172,11 +172,14 @@ gboolean fstr_strcase_equal (gconstpointer v, gconstpointer v2); void gperf_profiler_init (struct config_file *cfg, const gchar *descr); /* - * Workaround for older versions of glib + * Workarounds for older versions of glib */ #if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 22)) void g_ptr_array_unref (GPtrArray *array); #endif +#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 14)) +void g_queue_clear (GQueue *queue); +#endif /* |