aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-24 13:11:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-24 13:11:53 +0100
commit215a57a76656098ba81f44d7e7033f4de0badf78 (patch)
tree5d280c6be5bde41dbb60a812094f8523f6658ddb /src/libutil/util.h
parent7a589308b47e6eb84bd94afd5382d5d1e86bbcbe (diff)
downloadrspamd-215a57a76656098ba81f44d7e7033f4de0badf78.tar.gz
rspamd-215a57a76656098ba81f44d7e7033f4de0badf78.zip
[Minor] Fix build with glib < 2.40
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r--src/libutil/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h
index 564d00b12..946d9f09a 100644
--- a/src/libutil/util.h
+++ b/src/libutil/util.h
@@ -186,6 +186,9 @@ void g_queue_clear (GQueue *queue);
#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 32))
void g_queue_free_full (GQueue *queue, GDestroyNotify free_func);
#endif
+#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 40))
+void g_ptr_array_insert (GPtrArray *array, gint index_, gpointer data)
+#endif
/*
* Convert milliseconds to timeval fields