diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-24 13:11:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-24 13:11:53 +0100 |
commit | 215a57a76656098ba81f44d7e7033f4de0badf78 (patch) | |
tree | 5d280c6be5bde41dbb60a812094f8523f6658ddb /src/libutil/util.h | |
parent | 7a589308b47e6eb84bd94afd5382d5d1e86bbcbe (diff) | |
download | rspamd-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.h | 3 |
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 |